Buggy python submission (verdict: Runtime Error):
from math import ceil
h,w =map(int,input(),split())
ss = (h*(w+1)//2)
if h>1 and w>1:
  print(ss)
else:
  print(1)


Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
from math import ceil
h,w =map(int,input(),split())
ss = (h*(w+1)//2)
if h>1 and w>1:
	print(ss)
else:
	print(1)


Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
from math import ceil
h,w =map(int,input(),split())
ss = (h*(w+1)//2)
if h>1 and w>1:
	print(ss)
else:
  print(1)


Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
from math import floor,ceil
    h,w=map(int,input().split())
    if h == 1 or w == 1:
        print(1)
    else:
        m =ceil(w/2) * ceil(h/2) + floor(w/2) * floor(h/2)
        print(m)

Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
from math import ceil
h,w =map(int,input(),split())
ss = (ceil(h/2)*ceil(w/2))+(h//2*w//2)
if h>1 and w>1:
	print(ss)
else:
  print(1)

Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
from math import ceil
a,b =map(int,input(),split())
ss = (ceil(a/2)*ceil(b/2))+(a//2*b//2)
if a>1 and b>1:
	print(ss)
else:
  print(1)

Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
from math import ceil
a,b =map(int,input(),split())
ss = (ceil(a/2)*ceil(b/2))+(a//2*b//2)
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)


Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
from math import ceil
a,b =map(int,input(),split())
ss = ceil(a/2)*ceil(b/2)+a//2*b//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
a,b =map(int,input(),split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
a,b =map(int,input(),split())
ss = a*b
hf =ss//2
print(ss-hf)


Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
a,b =map(int,input(),split())
ss = (a*b)//2
print(ss)


Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)

Buggy python submission (verdict: Runtime Error):
a,b =map(int,input(),split())
ss = a*b
print(ss-10)

Fixed submission:
a,b =map(int,input().split())
ss = a*b
hf =ss//2
if a>1 and b>1:
	print(ss-hf)
else:
  print(1)