
π μμ
>> 1
>> 2
>> 3
>> 4
>> 5
>> 6
>> 7
>> 8
>> 9
>> 10
10
>> 42
>> 84
>> 252
>> 420
>> 840
>> 126
>> 42
>> 84
>> 420
>> 126
1
>> 39
>> 40
>> 41
>> 42
>> 43
>> 44
>> 82
>> 83
>> 84
>> 85
6
π§ νμ΄
1. for문
1.1 a = int(sys.stdin.readline().rstrip())
1.2 b = a % 42
2. λλ¨Έμ§ μ μ₯ 리μ€νΈ lefts = []
2.1 if b not in lefts: lefts.append(b)
π λ΅μ
import sys
lefts = []
for i in range(10):
a = int(sys.stdin.readline().rstrip())
b = a % 42
if b not in lefts:
lefts.append(b)
print(len(lefts))
π‘ κ°λ