edited input only numbers

Signed-off-by: bikarevich <alexander.bikarevich@gmail.com>