PROGRAMMING:Departure geometry
Small a and small B mistakenly enter the MLM and end up out, but they have no money. They are introduced to find jobs that pay one day (earn the return fare and living expenses). The first day of small a is 5 yuan, the second day is 10 yuan, the third day is 20 yuan... (the next day is twice of the previous day). Small B is 30 yuan on the first day, 60 yuan on the second day, 90 yuan on the third day... (30 yuan more than the previous day). Suppose that both of them want to go back to school at the first time, the only thing related to it is the return fare and living expenses. Please write a program to calculate and output the earliest return time according to the total return expenses of two people and daily living expenses of two people (miscellaneous expenses such as food, housing, etc.).
###Input format:
Two integers, separated by commas, are the total expenses of two people on their way back (including the fare, living expenses, etc.) and the daily miscellaneous expenses of two people (food, housing, etc.).
###Output format:
A whole number, starting from the day of formal work, the next few days you can set out to return to school.
###Input example:
```in
980 250
```
###Output example:
```out
ten
```
answer:If there is no answer, please comment
###Input format:
Two integers, separated by commas, are the total expenses of two people on their way back (including the fare, living expenses, etc.) and the daily miscellaneous expenses of two people (food, housing, etc.).
###Output format:
A whole number, starting from the day of formal work, the next few days you can set out to return to school.
###Input example:
```in
980 250
```
###Output example:
```out
ten
```
answer:If there is no answer, please comment