codeflash-internal/experiments/pie_test_set/p03759.py

11 lines
163 B
Python
Raw Permalink Normal View History

def problem_p03759(input_data):
a, b, c = list(map(int, input_data.split()))
if (b - a) == (c - b):
return "YES"
else:
return "NO"