1540: 装修

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:28 Solved:1

Description

某人家里打算装修n间房子来招待客人。a队 m天 装修1间;b队 k天 装修1间。请问最少要多久(只会请a或b中的一队)!

Input

输入三个整数分别表示n,m,k。

Output

输出一个数表示花费的时间t。

Sample Input Copy

1 2 3

Sample Output Copy

2

HINT

1<n<=100

1<m<=10^9

1<k<=10^9