#P349. 练60.3 余数个数

练60.3 余数个数

Description

Given 1010 integers, how many different remainders are there when these integers are taken modulo 4242?

Input Format

The input consists of 1010 lines, each containing a positive integer not exceeding 10910^9.

Output Format

An integer representing the number of different remainders.

Sample

39
40
41
42
43
44
82
83
84
85
6