For each day, find how many days you must wait for a warmer temperature. Use 0 if there is no warmer day ahead.
Input: one line of space-separated temperatures. Output: the wait for each day, space-separated.
Your program reads from stdin and prints to stdout.
Example 1
Input: 73 74 75 71 69 72 76 73
Output: 1 1 4 2 1 1 0 0
Hints