Example 1 : read a list of integers from standard input, split and run the map function to apply the int() function on each