#include using namespace std; int main () { ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin >> n; set st; while(n--) { int x; cin >> x; st.insert(x); } cout << st.size() << '\n'; }