check numbers in one line