Run ID:116746

提交时间:2025-04-12 13:34:09

T = int(input()) for _ in range(T): n = int(input()) print((n * n) % 10000)