n = int(input()) old = list(map(int,input().split())) new = [] for i in old: new.append(str(old[i-1])) print(' '.join(new))