(lambda _, l, __={}: [__.update({i + 1: l[i]}) for i in range(len(l))] and [__.update({i: l[i - 1] + 1}) for i in list(map(int, input().strip().split()))] and print(' '.join(list(map(str, __.values())))))(input(), list(map(int, input().strip().split())))