Check if input is 3 numbers