#YF1011. 高强度作业,低强度代码

高强度作业,低强度代码

Background:

The holiday and GuanGuan are very beautiful, but the homework is not beautiful. Since FWXFWX has too much homework, and FWXFWX is a student who is willing to enjoy it, so I invited GuanGuan to do it together.

Problem Description:

FWXFWX's homework has nn pages (both sides and back). FWXFWX can write xx sides every minute, and GuanGuan can write yy sides every minute. Because the side effects of doing homework are too strong, two people will write homework slower and slower, reduce the speed a little per minute, reduce the speed points per minute is a little more than a minute, until the speed is zero. When can they finish their homework.

Input Format:

A total of two rows, the first row of a positive integer nn, representing the total number of pages of the job. The next row, two positive integers xx and yy, represents the number of assignments written per minute by FWXFWX and GuanGuan.

output format:

A positive integer indicates the time it takes two people to finish the job (in min), and can output "OUT".(Note: If the time required is small, consolidate up.)

Input / output sample:

Enter # 1:

10
4 8

output #1:

2min