문제 출처: https://www.acmicpc.net/problem/2475
Bronze 5
import math if __name__ == '__main__': arr = list(map(int,input().split())) sum = 0 for x in arr: sum += math.pow(x,2) print(round(sum%10))