You are given rice cakes. The size of the -th rice cake is .
You may choose two unused rice cakes and make one bundle. The rice cake placed on top must be strictly larger than the one placed below. A rice cake cannot be used in more than one bundle.
Find the maximum number of bundles that can be made.
The input is given from Standard Input in the following format:
For each test case, print the maximum number of bundles.
Pairing rice cakes with sizes , , and creates three bundles. The one remaining rice cake cannot form another bundle, so the maximum number is .
Each case is given in the following format:
| 3 | 26 | There are at most two distinct values among . |
| 4 | 53 | No additional constraints. |