As a warm up problem, you just need to write a program to compare two positive integers and then to report which one is bigger. The two integers are, however, written in "vertical format".
The first digit of each pair of number start on the same row, separated by a single space. The end of each input is marked by a '#' starting on a line of itself.
For each pair of input integer, output "first" if the first number is bigger; output "second" if the second is bigger; output "equal", otherwise.
1 1 # 2 9 3 8 # 1 2 3 # 9 8 7 6 5 4 3 #
equal second first second