Problem B
More or Less

Write a program that reads pairs of integers and reports whether the first one is larger or smaller than the second.


Input consists of up to $100$ lines, each containing two integers separated by a single space. The end of input is marked by a pair of values that are equal. All integers are in the range $[-10\, 000, 10\, 000]$.


For each input line, output ‘more’ if the first number is larger than the second. Output ‘less’ if the second number is larger than the first. Don’t output anything for the last input line (where the two values are equal).

Sample Input 1 Sample Output 1
7 2
3 10
4 4

Please log in to submit a solution to this problem

Log in