print(' '.join(reversed(list(map(lambda i: str(i*i), filter(lambda i: i > 0, map(int, input().split())))))))