mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
10 lines
163 B
Python
10 lines
163 B
Python
def problem_p03759(input_data):
|
|
a, b, c = list(map(int, input_data.split()))
|
|
|
|
if (b - a) == (c - b):
|
|
|
|
return "YES"
|
|
|
|
else:
|
|
|
|
return "NO"
|