Advertisement
nq1s788

1c

Feb 28th, 2024
632
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. m, n = map(int, input().split())
  2. if (m % 2) == 0 or (n % 2) == 0:
  3.     print((m * n) // 2)
  4. else:
  5.     print((m * n - 1) // 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement