LearnPy Hub
← Exceptions problems
Easy

Convert Every Item

Read words. Try converting each to int; print the number, or skip WORD if it is not a whole number. One line per word.

Input

Words separated by spaces.

Output

One line per word.

Sample 1

Input
1 two 3
Output
1
skip two
3

Sample 2

Input
x
Output
skip x
solution.py
Output appears here
Convert Every Item · Python practice problem · LearnPy Hub