2025-09-13 20:47:03 +09:00

2 lines
63 B
Python

n1, k1, n2, k2 = map(int, input().split())
print(n1*k1 + n2*k2)