#46048: Python簡單解


chunyutsai97@gmail.com (淳)

學校 : 臺北市立陽明高級中學
編號 : 259744
來源 : [122.116.19.249]
最後登入時間 :
2025-10-05 17:06:03

def f(a, b, c):
    return sum(i for i in range(1, c+1) if i%a==0 or i%b==0)

a, b, c = map(int, input().split())
print(chr(f(a, b, c)%26+64))