Squares
Very easy
Execution time limit is 2 seconds
Runtime memory usage limit is 128 megabytes
Given the length of segments. What is the maximum number of squares can be constructed? Each side of a square must be constructed from only one segment.
Input
The first line contains the number of segments . The second line contains integers — the length of segments with values no more than .
Output
Print the maximum number of squares that can be constructed from the given segments.
Examples
Input #1
Answer #1
Submissions 8K
Acceptance rate 44%