Age - MarisaOJ: Marisa Online Judge

Age

Time limit: 1000 ms
Memory limit: 256 MB
There are two people, one born on the day $a$, month $b$, year $c$, and the other person born on the day $x$, month $y$, year $z$. Determine which person is older, knowing that they were not born on the same day. ### Input - A single line containing six integers $a, b, c, x, y, z$. ### Output - Print 1 if the first person is older, or 2 if the second person is older. ### Constraints - It is guaranteed that the dates are valid. ### Sample test ``` 7 10 1990 8 10 1990 ``` Output: ``` 1 ```