https://www.acmicpc.net/problem/3052
# 나머지 lst = [] for _ in range(10): # 10줄이므로 10회 반복 x = int(input()) # 한 줄에 나오는 숫자 y = x % 42 # 42로 나눈 값 lst.append(y) # 리스트에 저장 print(len(set(lst))) # set을 이용해 중복제거 후 개수를 구한다.