Run ID:116777
提交时间:2025-04-12 14:22:50
T = int(input()) for _ in range(T): n = int(input()) print((n * n) % 10000)