The script allows you to enter a specific range of numbers. In addtion you can enter the two values that are used to devide every number in the range. At the beginning of the code you some error handling if user inputs are not valid.
If the range number devided by the first value is an integer it prints 'bar'. If the range number devided by the second value is an interger it prints 'foo'. If the range number devided by the first AND second value is an integer it prints 'barfoo'.