링크 : https://www.acmicpc.net/problem/3052
#include <iostream>
#include <vector>
#include <set>
using namespace std;
int main() {
vector<int> v;
set<int> answer;
int n = 0;
for(int i = 0; i < 10; i++){
cin >> n;
v.push_back(n);
}
for(int a : v){
answer.insert(a % 42);
}
cout << answer.size();
return 0;
}