Bouquet of Flowers for Juniors
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Since today is March 8th, you will be preparing a bouquet of flowers. There are two kinds of flowers in your store. White and red flowers. Each bouquet must consist of flowers, and the bouquet must contain both types of flowers.
If your store has white and red flowers, what is the maximum number of bouquets can you make?
Input
Two integers and .
Output
Print the maximum number of bouquets you can make.
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 40%