Transfer
Vasya has one account with the mobile operator Ratsvijk, with a balance of tugriks. (Tugrik is the currency in Vasya's country, where 0.01 tugrik is one cent). Additionally, he has accounts on Etciudj, which are satellites of Ratsvijk. The -th Etciudj package has tugriks on its account. A new tariff plan has appeared on Ratsvijk, and Vasya wants to switch to it. For this, he needs to have at least tugriks on his account. Vasya is not able to top up his account, so he does not want to buy a new recharge. But there is another way out.
Ratsvijk provides the ability to transfer money between subscribers. A transfer is sending a certain amount of money from one account to another. Only whole amounts of tugriks can be sent. The transfer fee is 10 cents, which is deducted from the account from which the money was sent. A transfer is possible only if, after it, there will be at least 5 tugriks remaining on the account. Since Etciudj is a satellite of Ratsvijk, Etciudj subscribers can also participate in these transfers.
Given , , and (), determine if it is possible to switch to the new tariff plan without buying a new top-up for the account, and if so, find the minimum number of transfers required for this.
Input
The first line contains an integer (), , and . In the second line, the numbers are given, separated by spaces. All numbers , , () are real numbers in the range with exactly two decimal places.
Output
Output the minimum number of transfers required to switch to the new tariff plan, or if it is impossible without buying a new top-up for the account.