#!/bin/python3 import sys n = int(input().strip()) types = list(map(int, input().strip().split(' '))) for [i] in types: if[i]>i: print i