#!/usr/bin/env python3

userInput = input('Enter a list of numbers between 1 and 100, separated by spaces: ')
nums = userInput.split()

for strNum in nums:
    if not strNum.isdigit():
        print ('Not a Number:', strNum)
    elif int(strNum) < 1:
        print ('Number is less than 1:', strNum)
    elif int(strNum) > 100:
        print ('Number is greater than 100:', strNum)
    else:
        print ('Number is valid:', strNum)
    
