zhangliqun2023 edited 8 月,2 周前
import math n,m = input().split(" ") n = int(n) m = int(m) if m%2==1 and n%2==1: print(math.ceil(n/2)*math.ceil(m/2)+int(n/2)*int(m/2)) else: print(m*n/2)