codeflash-internal/experiments/pie_test_set/p03635.py

4 lines
108 B
Python

def problem_p03635(input_data):
a, b = list(map(int, input_data.split()))
return (a - 1) * (b - 1)