Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m, n = map(int, input().split())
- if (m % 2) == 0 or (n % 2) == 0:
- print((m * n) // 2)
- else:
- print((m * n - 1) // 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement