Meteorologists
Meteorologists, aside from predicting the weather, sometimes work on proving that global warming is not occurring. One method they use is to identify the most recent day before today when the temperature was not lower than today's temperature. If no such day exists, they simply say "OOPS". Baha, a newcomer to meteorology, was tasked by Tima, a seasoned meteorologist, with analyzing old temperature records for practice. After some calculations, Baha realized that completing this task would take him an entire day, leaving no time for his crossword puzzles. So, he has asked you to write a program to handle this task.
**Input Data**: The first line of the input contains an integer (N), representing the number of days provided to Baha ((1 N 100,000)). The second line contains (N) integers, each ranging from (0) to (100,000). The (i)-th integer represents the temperature on the (i)-th day. Days are numbered sequentially starting from (1).
**Output Data**: The output should consist of (N) lines, one for each day. For the (i)-th day, if there exists a previous day where the temperature was not lower than on the (i)-th day, output the number of that day (which must be less than (i)). If no such day exists, output "OOPS".