Burgers#11376

Burgers

1 second
128 megabytes
Very easy

A burger machine has been installed at ADA University. To produce one burger, one bun and one cutlet should be put into the machine. Huseyn has buns and cutlets. What is the largest number of burgers Huseyn can make?

Input

Two integers and m~(n, m \le 10^9).

Output

Print the maximum number of burgers that Huseyn can make.

Examples

Example 1

Loading
Loading