Woburn Challenge 2015-16 Round 4 - Junior Division
James Bond is preparing to embark on a particularly dangerous mission – catching ruthless Canadian ice wine smugglers. He'll be attending a secret (but elegant) wine tasting party at the smugglers' hideout, with the intention of causing a huge distraction and sneaking further into their lair. If only there were a way to suddenly disrupt the wine tasting process for all of the guests…
Fortunately for Bond, Q has an idea. According to his research, the
glass which the wine glasses are made of has a resonance frequency of
Q has developed
Though all
Input Specification
The first line of input consists of two space-separated integers
The next
Output Specification
Output a single integer – the number of watches which are able to break the glass.
Sample Input
4 2000
6000
1000
2000
20001
Sample Output
2
Comments