#![allow(non_snake_case)]

use proconio::input;
use proconio::fastout;

#[fastout]
fn main() {
    const A_MAX: usize = 1000000;
    let mut a = [0; A_MAX];
    input! {
        N: usize,
        A: [usize; N],
    }
    for x in A {
        a[x] += 1;
    }
}