Check input to make sure it is a number and if it isn't skip it