Woburn Challenge 2018-19 Finals Round - Junior Division

The cows and monkeys of Scarberia, their long-standing conflicts well behind them at last, have banded together to produce a historical drama documenting their past battles. With the Head Monkey as writer and producer, and the director's chair occupied by the cows' leader, Bo Vine, this will be a collaborative masterpiece to remember!
As part of his preparations, Bo Vine is considering what width of film
to use, an important artistic decision. He doesn't want to limit himself
to a single width, so he's decided that two copies of the movie will be
shot, on two different film widths! Each film width (measured in mm)
must be an integer between
There are
If Bo Vine chooses a pair of distinct film widths optimally, what's the maximum number of different actors who can be employed?
Subtasks
In test cases worth
Input Specification
The first line of input consists of a single integer,
Output Specification
Output a single integer, the maximum number of actors who can be employed.
Sample Input
4
50
70
51
70
Sample Output
3
Sample Explanation
One possibility is using
Comments