Problem A
License to Launch
Birk has made a new shiny rocket and just received his
licence from the Bluesky Global Order (BGO) to launch anytime
within the next
Can you help Birk find out how many days he has to wait until he sends up his rocket?
Input
On the first line there is a single integer
Output
Output a single integer, the number of days Birk needs to wait before he launches his rocket.
Sample Input 1 | Sample Output 1 |
---|---|
5 3 4 1 7 2 |
2 |