NumberFormatException: For input string: "abc"
Ensure the input string is valid before attempting to parse it into a numeric type.
Below is an instruction that describe a  task, paired with an input that provides further context. Write a response that appropriately completes the request.

 ### Instruction:
NumberFormatException: For input string: "abc"
 ### Input
Trying to parse a non-numeric string into a numeric type.
###Response
Ensure the input string is valid before attempting to parse it into a numeric type.