2025-06-21 20:48:22 +09:00

2 lines
63 B
Python

arr = map(int, input().split())
print(sum(v*v for v in arr)%10)