n = int(input()) a = [] for _ in range(n): a.append(float(input())) for i in range(len(a)): if a[i] < 0: a[i] = abs(a[i]) print(a)