Buggy python submission (verdict: Time Limit Exceeded):
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [None]*N
for i in range(1, N+1):
        ans[i-1] = A.index(i) + 1
print(" ".join(map(str, ans)))

Fixed submission:
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [None]*N
for i, order in enumerate(A, 1):
        ans[order-1] = i
print(" ".join(map(str, ans)))

Buggy python submission (verdict: Time Limit Exceeded):
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [0]*N
for i in range(1, N+1):
        ans[i-1] = A.index(i) + 1
print(" ".join(map(str, ans)))

Fixed submission:
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [None]*N
for i, order in enumerate(A, 1):
        ans[order-1] = i
print(" ".join(map(str, ans)))

Buggy python submission (verdict: Time Limit Exceeded):
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [0]*N
for i in range(1, N+1):
        ans[i-1] = A.index(i) + 1
print(" ".join(map(str, ans)))

Fixed submission:
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [None]*N
for i, order in enumerate(A, 1):
        ans[order-1] = i
print(" ".join(map(str, ans)))

Buggy python submission (verdict: Time Limit Exceeded):
import sys

N = int(sys.stdin.readline())
A = sys.stdin.readline().split()
for i in range(N):
        A[i] = int(A[i])

ans = [0]*N
for i in range(1, N+1):
        ans[i-1] = A.index(i) + 1
print(" ".join(map(str, ans)))

Fixed submission:
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [None]*N
for i, order in enumerate(A, 1):
        ans[order-1] = i
print(" ".join(map(str, ans)))

Buggy python submission (verdict: Time Limit Exceeded):
import sys

N = int(sys.stdin.readline())
A = sys.stdin.readline().split()
for i in range(N):
        A[i] = int(A[i])

ans = [0]*N
for i in range(1, N+1):
        for j in range(N):
                if(A[j] == i):
                        ans[i-1] = j+1
print(" ".join(map(str, ans)))

Fixed submission:
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [None]*N
for i, order in enumerate(A, 1):
        ans[order-1] = i
print(" ".join(map(str, ans)))

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())
A = list(map(int, input().split()))
ans = [0]*N
for i in range(1, N+1):
        for j in range(N):
                if(A[j] == i):
                        ans[i-1] = j+1
print(" ".join(map(str, ans)))

Fixed submission:
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [None]*N
for i, order in enumerate(A, 1):
        ans[order-1] = i
print(" ".join(map(str, ans)))

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())
A = list(map(int, input().split()))
ans = [0]*N
for i in range(1, N+1):
        for j in range(N):
                if(A[j] == i):
                        ans[i-1] = j+1
print(" ".join(map(str, ans)))

Fixed submission:
import sys

N = int(sys.stdin.readline())
A = list(map(int, sys.stdin.readline().split()))

ans = [None]*N
for i, order in enumerate(A, 1):
        ans[order-1] = i
print(" ".join(map(str, ans)))