changed string to int

The error was coming from not having the string as an integer and once
I corrected it, then it recognized the numbers to work with the logical
operator if / else statement