# 0001, 2022-09-24 09:17:22, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if a%2 == 0:
d = d+a
else:
if d>a:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0002, 2022-09-24 09:19:36, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0003, 2022-09-24 09:20:13, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0004, 2022-09-24 09:22:21, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0005, 2022-09-24 09:22:31, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0006, 2022-09-24 09:23:32, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d> a:
if c>d:
a += 1
else:
d -= 1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0007, 2022-09-24 09:23:44, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0008, 2022-09-24 09:24:10, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0009, 2022-09-24 09:24:36, PPT-PP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a = a+1
else:
d = d+1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0010, 2022-09-24 09:24:51, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a = a+1
else:
d = d-1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0011, 2022-09-24 09:25:45, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a = a+1
else:
d = d-1
print(a,b,c,d)
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0012, 2022-09-24 09:26:03, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a = a+1
else:
d = d-1
else:
if a%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0013, 2022-09-24 09:27:43, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a = a+1
else:
d = d-1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0014, 2022-09-24 09:27:55, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a = a+1
else:
d = d-1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0015, 2022-09-24 09:29:28, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0016, 2022-09-24 09:32:20, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0017, 2022-09-24 09:12:06, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
elif c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0018, 2022-09-24 09:14:28, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0019, 2022-09-24 09:14:47, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0020, 2022-09-24 09:25:55, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0021, 2022-09-24 09:27:26, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0022, 2022-09-24 09:29:30, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c % 2 == 0:
d += a
elif d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0023, 2022-09-24 09:50:23, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else: d -= 1
elif c % 2 ==0:
d += a
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0024, 2022-09-24 09:50:37, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c % 2 == 0:
d += a
elif d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0025, 2022-09-24 10:02:38, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c % 2 ==0:
d += a
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0026, 2022-09-24 10:03:07, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c % 2 ==0:
d += a
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0027, 2022-09-24 10:05:57, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c % 2 ==0:
d += a
exit()
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0028, 2022-09-24 10:14:02, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c % 2 ==0:
d += a
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0029, 2022-09-24 10:16:05, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c % 2 ==0:
d += a
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0030, 2022-09-24 10:16:51, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c % 2 ==0:
d += a
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0031, 2022-09-24 10:21:56, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c % 2 ==0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0032, 2022-09-24 09:12:01, xxxxxx (0%)
if a>b :
(a,b)=(b,a)
if d >= a :
if c>d :
a +=1
else :
d -= 1
else :
pass
print(a,b,c,d)
else:
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0033, 2022-09-24 09:20:46, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d >= a :
if c>d :
a +=1
else :
d -= 1
else :
pass
print(a,b,c,d)
else:
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0034, 2022-09-24 09:26:38, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d >= a :
if c>d :
a +=1
else :
d -= 1
print(a,b,c,d)
else:
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0035, 2022-09-24 09:27:02, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d >= a :
if c>d :
a +=1
else :
d -= 1
print(a,b,c,d)
else:
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0036, 2022-09-24 09:28:12, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d >= a :
if c>d :
a +=1
else :
d -= 1
print(a,b,c,d)
else:
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0037, 2022-09-24 09:28:45, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d >= a :
while c>d :
a +=1
else :
d -= 1
print(a,b,c,d)
else:
if c%2 = 0 :
d = d+a
print(a,b,c,d)
else :
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0038, 2022-09-24 09:34:35, P--P-- (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d>= a :
if c>d :
a += 1
else :
d -= 1
else :
pass
print(a,b,c,d)
else :
if c%2 == 0:
d = d+a
else :
if d >c :
c = c+d
else:
b = b+a
print(a,b,c,d)
| # 0039, 2022-09-24 09:36:17, P--P-- (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
pass
print(a,b,c,d)
else :
if c%2 == 0:
d = d+a
else :
if d >c :
c = c+d
else:
b = b+a
print(a,b,c,d)
| # 0040, 2022-09-24 09:36:41, ---P-- (17%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 == 0:
d = d+a
else :
if d >c :
c = c+d
else:
b = b+a
print(a,b,c,d)
| # 0041, 2022-09-24 09:38:31, P--P-- (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c%2 == 0:
d = d+a
else :
if d >c :
c = c+d
else:
b = b+a
print(a,b,c,d)
| # 0042, 2022-09-24 09:52:40, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
if d >= a :
if c>d :
a +=1
else :
d -=1
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0043, 2022-09-24 10:16:46, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
while d >= a :
if c>d :
a +=1
else :
d -=1
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0044, 2022-09-24 10:17:49, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
while d >= a :
if c>d :
a +=1
else :
d -=1
else :
pass
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0045, 2022-09-24 10:17:52, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
while d >= a :
if c>d :
a +=1
else :
d -=1
else :
pass
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0046, 2022-09-24 10:19:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
(a,b)=(b,a)
while d >= a :
if c>d :
a +=1
else :
d -=1
else :
pass
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0047, 2022-09-24 09:13:11, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
break
else:
if c % 2 == 0:
d += a
elif d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0048, 2022-09-24 09:19:03, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
elif d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0049, 2022-09-24 09:21:31, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0050, 2022-09-24 09:24:18, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c // 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0051, 2022-09-24 09:24:31, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0052, 2022-09-24 09:48:05, -PP-PP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
if a <= b:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0053, 2022-09-24 09:48:14, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0054, 2022-09-24 10:00:53, -PP-PP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if not d >= a:
break
while d>= a:
if c > d:
a += 1
else:
d -= 1
if a <= b:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0055, 2022-09-24 10:04:20, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0056, 2022-09-24 10:12:01, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d <= c:
b += a
else:
c += d
a = b + c
print(a,b,c,d)
| # 0057, 2022-09-24 10:12:20, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0058, 2022-09-24 10:18:19, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
if not d >= a:
break
else:
if c % 2 == 0:
d += a
else:
if d <= c:
b += a
else:
c += d
a = b + c
print(a,b,c,d)
| # 0059, 2022-09-24 10:18:25, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0060, 2022-09-24 10:31:55, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
if not d >= a:
break
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0061, 2022-09-24 10:34:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
if not d >= a:
break
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0062, 2022-09-24 09:21:57, compilation error (0%)
import math
a,b,c,d = [int(e) for e in input().split()]
if a > b :
swap (a,b)
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c = even :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0063, 2022-09-24 09:25:07, compilation error (0%)
import math
a,b,c,d = [int(e) for e in input().split()]
if a > b :
swap (a,b)
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 = 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0064, 2022-09-24 09:30:01, compilation error (0%)
import math
a,b,c,d = [int(e) for e in input().split()]
if a > b :
swap (a,b)
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 = 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0065, 2022-09-24 10:07:45, xxxPP- (33%)
import math
a,b,c,d = [int(e) for e in input().split()]
if a > b :
swap (a,b)
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0066, 2022-09-24 10:09:59, xxxPP- (33%)
import math
a,b,c,d = [int(e) for e in input().split()]
if a > b :
swap(a,b)
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0067, 2022-09-24 10:11:14, PPPPP- (83%)
import math
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0068, 2022-09-24 10:11:23, PPPPP- (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0069, 2022-09-24 10:18:47, PPPPP- (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
pass
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0070, 2022-09-24 10:19:45, PPPPP- (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0071, 2022-09-24 10:20:23, PPPPP- (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
pass
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0072, 2022-09-24 10:24:40, PP-PP- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
break
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0073, 2022-09-24 10:24:54, PPPPP- (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = a+c
print(a,b,c,d)
| # 0074, 2022-09-24 10:25:53, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0075, 2022-09-24 09:14:02, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0076, 2022-09-24 09:14:18, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0077, 2022-09-24 09:17:26, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0078, 2022-09-24 09:19:13, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
a = b + c
print(a, b, c, d)
| # 0079, 2022-09-24 09:19:24, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0080, 2022-09-24 09:19:42, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0081, 2022-09-24 09:19:51, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0082, 2022-09-24 09:20:02, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0083, 2022-09-24 09:20:52, xxx-PP (33%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
a,b,c,d = [int(e) for e in input().split()]
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0084, 2022-09-24 09:21:06, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0085, 2022-09-24 10:23:04, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0086, 2022-09-24 10:23:26, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
| # 0087, 2022-09-24 10:23:53, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a, b, c, d)
|
# 0088, 2022-09-24 09:15:20, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0089, 2022-09-24 09:18:06, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
pass
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0090, 2022-09-24 09:19:31, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
pass
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0091, 2022-09-24 09:28:15, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
pass
else:
d -= 1
pass
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0092, 2022-09-24 09:28:35, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
pass
else:
d -= 1
pass
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0093, 2022-09-24 09:33:16, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
break
else:
d -= 1
break
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0094, 2022-09-24 09:35:29, PP--PP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
pass
else:
d -= 1
break
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0095, 2022-09-24 09:35:39, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
pass
else:
d -= 1
pass
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0096, 2022-09-24 10:14:12, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
pass
else:
d -= 1
pass
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0097, 2022-09-24 10:24:51, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0098, 2022-09-24 10:26:57, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0099, 2022-09-24 10:27:35, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0100, 2022-09-24 10:31:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
pass
else:
d -= 1
pass
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0101, 2022-09-24 09:16:58, PPPxP- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0 :
d = d + a
print(a,b.c.d)
else :
if d > a:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0102, 2022-09-24 09:18:08, PPPxP- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0 :
d = d + a
print(a,b.c.d)
else :
if d > a:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0103, 2022-09-24 09:21:30, PPPxP- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
else:
if c % 2 == 0 :
d = d + a
print(a,b.c.d)
else :
if d > a:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0104, 2022-09-24 09:23:12, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > a:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0105, 2022-09-24 09:24:20, PPP-P- (67%)
a, b, c, d = [int(e) for e in input().split()]
if a > b :
a,b = b, a
while d >= a :
if c > a :
a += 1
else :
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > a:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0106, 2022-09-24 09:25:53, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > a:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0107, 2022-09-24 09:26:11, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > a:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0108, 2022-09-24 09:28:28, PPP-PP (83%)
a, b, c, d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
else:
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0109, 2022-09-24 09:29:15, compilation error (0%)
a, b, c, d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0110, 2022-09-24 09:29:55, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
else:
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0111, 2022-09-24 10:34:09, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
else:
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0112, 2022-09-24 10:34:13, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > a :
a+= 1
else :
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0113, 2022-09-24 09:11:50, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d >= c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0114, 2022-09-24 09:17:36, PPPPP- (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >= c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0115, 2022-09-24 09:49:59, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d >= c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0116, 2022-09-24 09:51:40, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >= c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0117, 2022-09-24 09:51:49, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >= c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0118, 2022-09-24 10:11:15, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while True:
if d>=a:
if c>d:
a += 1
else:
d -= 1
else:
break
else:
if c%2 == 0:
d = d+a
else:
if d >= c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0119, 2022-09-24 10:11:27, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while True:
if d>=a:
if c>d:
a += 1
else:
d -= 1
else:
break
else:
if c%2 == 0:
d = d+a
else:
if d >= c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0120, 2022-09-24 10:13:03, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while True:
if d>=a:
if c>d:
a += 1
else:
d -= 1
else:
break
else:
if c%2 == 0:
d = d+a
elif d >= c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0121, 2022-09-24 10:34:22, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while True:
if d>=a:
if c>d:
a += 1
else:
d -= 1
else:
break
else:
if c%2 == 0:
d += a
elif d >= c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0122, 2022-09-24 10:35:19, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while True:
if d>=a:
if c>d:
a += 1
else:
d -= 1
else:
break
else:
if c%2 == 0:
d += a
elif d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0123, 2022-09-24 10:38:14, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while True:
if d>=a:
if c>d:
a += 1
else:
d -= 1
else:
break
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0124, 2022-09-24 09:17:52, P--P-- (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
break
if c>d:
d-=1
else:
a+=1
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
print(a,b,c,d)
| # 0125, 2022-09-24 09:19:32, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
break
if c>d:
d-=1
else:
a+=1
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0126, 2022-09-24 09:21:25, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
break
if c>d:
a+=1
else:
d-=1
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0127, 2022-09-24 09:22:25, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
break
if c>d:
a+=1
else:
d-=1
else:
print(a,b,c,d)
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0128, 2022-09-24 09:23:10, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
break
if c>d:
a+=1
else:
d-=1
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0129, 2022-09-24 09:27:13, PP-PPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
break
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0130, 2022-09-24 09:27:19, PP-PPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
break
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0131, 2022-09-24 09:27:21, PP-PPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
break
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0132, 2022-09-24 09:27:52, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b)=(b,a)
while d>=a:
break
if c>d:
a+=1
else:
d-=1
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0133, 2022-09-24 09:28:18, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b)=(b,a)
while d>=a:
if c>d:
a+=1
else:
d-=1
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0134, 2022-09-24 09:28:25, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b)=(b,a)
while d>=a:
if c>d:
a+=1
else:
d-=1
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
|
# 0135, 2022-09-24 09:18:36, compilation error (0%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a:
if c > d:
a = a + 1
else:
d = d - 1
print(a,b,c,d)
else:
if c%2==0:
d = d+5
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0136, 2022-09-24 09:23:36, ---PPP (50%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a:
if c > d:
a = a + 1
else:
d = d - 1
if c%2==0:
d = d+5
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0137, 2022-09-24 09:34:01, ---PPP (50%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a = a + 1
break
else:
d = d - 1
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0138, 2022-09-24 09:56:52, ---PPP (50%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a = a + 1
else:
d = d - 1
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0139, 2022-09-24 09:57:13, compilation error (0%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a = a + 1
else:
d = d - 1
break
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0140, 2022-09-24 09:57:25, ---PPP (50%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a = a + 1
else:
d = d - 1
break
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0141, 2022-09-24 09:58:51, ---PPP (50%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a = a + 1
else:
d = d - 1
else:
pass
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0142, 2022-09-24 09:59:23, ---PPP (50%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a = a + 1
else:
d = d - 1
else:
print(a,b,c,d)
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0143, 2022-09-24 10:32:40, P--PPP (67%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a = a + 1
break
else:
d = d - 1
else:
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0144, 2022-09-24 10:33:50, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a = a + 1
else:
d = d - 1
else:
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0145, 2022-09-24 09:14:23, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d > c:
c = c+ d
else:
b = b + a
a = b+c
print(a,b,c,d)
| # 0146, 2022-09-24 09:14:38, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d > c:
c = c+ d
else:
b = b + a
a = b+c
print(a,b,c,d)
| # 0147, 2022-09-24 09:15:03, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d > c:
c = c+ d
else:
b = b + a
a = b+c
print(a,b,c,d)
| # 0148, 2022-09-24 09:19:05, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d > c:
c = c+ d
else:
b = b + a
a = b+c
print(a,b,c,d)
| # 0149, 2022-09-24 09:27:19, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d = d-1
else:
if c%2 == 0:
d = d+a
elif d > c:
c = c+ d
else:
b = b + a
a = b+c
print(a,b,c,d)
| # 0150, 2022-09-24 09:30:12, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d = d-1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0151, 2022-09-24 09:30:58, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d = d-1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0152, 2022-09-24 09:32:42, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d = d-1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0153, 2022-09-24 09:33:05, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d = d-1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0154, 2022-09-24 09:14:56, PPP--P (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c // 2 == 0:
d += a
else:
if d < c:
c+= d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0155, 2022-09-24 09:41:19, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c // 2 == 0:
d += a
else:
if d > c:
c+= d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0156, 2022-09-24 09:42:22, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c // 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0157, 2022-09-24 09:42:59, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c // 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0158, 2022-09-24 09:43:38, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c // 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0159, 2022-09-24 09:44:30, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c // 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0160, 2022-09-24 09:46:24, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c // 2 == 0:
d += a
else:
if d > c:
c += d
print(a,b,c,d)
| # 0161, 2022-09-24 09:46:43, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c // 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
print(a,b,c,d)
| # 0162, 2022-09-24 09:49:09, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0163, 2022-09-24 09:12:24, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0164, 2022-09-24 09:15:20, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
elif d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0165, 2022-09-24 09:27:23, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
elif d > c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0166, 2022-09-24 09:42:11, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -= 1
else:
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
elif d > c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0167, 2022-09-24 10:34:52, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
elif d > c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0168, 2022-09-24 10:36:28, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
break
elif d > c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0169, 2022-09-24 10:37:06, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
pass
elif d > c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0170, 2022-09-24 10:37:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
pass
elif d > c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0171, 2022-09-24 09:23:20, compilation error (0%)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a >b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else c%2 == 0:
d = d + a
while d > c:
if c = c + d:
a = b +c
else b = b + a:
a = b + c
print(a,b,c,d)
| # 0172, 2022-09-24 09:38:05, compilation error (0%)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a >b:
a,b = b,a
while d >= a:
if c > d:
a += 1
elif c > d:
d -= 1
else:
d >= a
else c%2 == 0:
d = d + a
while d > c:
if c = c + d:
a = b + c
else b = b + a:
a = b + c
print(a,b,c,d)
| # 0173, 2022-09-24 09:46:40, xxxxxx (0%)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a >b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
| # 0174, 2022-09-24 09:46:57, xxxxxx (0%) a = int(input()) b = int(input()) c = int(input()) d = int(input()) if a >b: a,b = b,a | # 0175, 2022-09-24 09:58:54, compilation error (0%)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
elif c%2 == 0:
d = d + a
else
| # 0176, 2022-09-24 10:11:56, compilation error (0%)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
elif c%2 == 0:
d = d + a
else
| # 0177, 2022-09-24 10:34:34, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c + d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0178, 2022-09-24 09:12:26, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a , b = b , a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else:
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0179, 2022-09-24 10:24:26, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a , b = b , a
if d >= a :
if c > d :
a += 1
else :
d -= 1
else:
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0180, 2022-09-24 10:24:37, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a , b = b , a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else:
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0181, 2022-09-24 10:26:03, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a , b = b , a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else:
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0182, 2022-09-24 10:26:17, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a , b = b , a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else:
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0183, 2022-09-24 10:26:27, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a , b = b , a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else:
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0184, 2022-09-24 10:26:50, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a , b = b , a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else:
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0185, 2022-09-24 09:15:57, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a :
if c>d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0186, 2022-09-24 09:17:55, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a :
if c>d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0187, 2022-09-24 09:27:33, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a :
if c>d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0188, 2022-09-24 09:55:49, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a :
if c>d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0189, 2022-09-24 09:55:57, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a :
if c>d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0190, 2022-09-24 09:56:40, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a :
if c>d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0191, 2022-09-24 09:34:00, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
pass
if d > c :
c = c + d
else:
b = b + a
a = b + c
d = d + a
print(a,b,c,d)
| # 0192, 2022-09-24 09:38:55, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -=1
else:
if c%2 == 0:
d = d + a
else:
if d > c :
c = c +d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0193, 2022-09-24 09:39:32, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -=1
else:
if c%2 == 0:
d = d + a
else:
if d > c :
c = c +d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0194, 2022-09-24 09:42:50, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -=1
else:
if c%2 == 0:
d = d + a
else:
if d > c :
c = c +d
else:
b = b + a
a = b + c
print(a,b,c,d)
print(a,b,c,d)
| # 0195, 2022-09-24 09:58:03, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -=1
else:
if c%2 == 0:
d = d + a
else:
if d > c :
c = c +d
else:
b = b + a
a = b + c
print(a,b,c,d)
print(a,b,c,d)
| # 0196, 2022-09-24 10:03:51, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -=1
else:
if c%2 == 0:
d = d + a
else:
if d > c :
c = c +d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0197, 2022-09-24 09:16:59, compilation error (0%)
a = input()
b = input()
c = input()
d = input()
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
break
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0198, 2022-09-24 09:17:26, xxxxxx (0%)
a = input()
b = input()
c = input()
d = input()
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
break
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0199, 2022-09-24 09:20:17, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
break
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0200, 2022-09-24 09:21:38, P--P-P (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
break
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0201, 2022-09-24 09:21:52, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
break
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0202, 2022-09-24 09:28:08, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0203, 2022-09-24 09:16:23, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0204, 2022-09-24 09:18:15, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
if d >= a:
if c>d:
a += 1
else:
d -= 1
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0205, 2022-09-24 10:00:34, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
if d >= a:
if c>d:
a += 1
else:
d -= 1
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0206, 2022-09-24 10:26:12, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0207, 2022-09-24 10:27:00, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a += a
else:
d -= d
else:
if c%2 == 0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0208, 2022-09-24 10:28:25, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
|
# 0209, 2022-09-24 09:10:52, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2==0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0210, 2022-09-24 09:14:49, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2==0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0211, 2022-09-24 09:54:10, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2==0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0212, 2022-09-24 09:54:21, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2==0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0213, 2022-09-24 09:54:29, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2==0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0214, 2022-09-24 10:32:11, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0215, 2022-09-24 09:13:14, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else :
if c%2==0:
d=d+a
break
else :
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0216, 2022-09-24 09:13:34, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else :
if c%2==0:
d=d+a
break
else :
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0217, 2022-09-24 09:14:34, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else :
if c%2==0:
d=d+a
else :
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0218, 2022-09-24 09:46:15, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a=a+1
else:
d=d-1
else :
if c%2==0:
d=d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0219, 2022-09-24 09:48:50, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a=a+1
else:
d=d-1
else:
if c%2==0:
d=d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0220, 2022-09-24 10:15:38, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else :
d-=1
else :
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
|
# 0221, 2022-09-24 09:12:04, ---P-- (17%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
if c %2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
print(a,b,c,d)
| # 0222, 2022-09-24 09:13:44, ---P-- (17%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
if c %2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
print(a,b,c,d)
| # 0223, 2022-09-24 09:16:22, ---P-- (17%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
if c %2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
print(a,b,c,d)
| # 0224, 2022-09-24 09:17:26, ---P-- (17%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
d -= 1
if c %2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
print(a,b,c,d)
| # 0225, 2022-09-24 09:19:25, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
d -= 1
else:
if c %2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0226, 2022-09-24 09:21:15, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c %2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0227, 2022-09-24 09:15:05, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -=
else:
if c % 2 == 0:
d += a
elif d > c :
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0228, 2022-09-24 09:15:46, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
elif d > c :
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0229, 2022-09-24 09:20:44, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
elif d > c :
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0230, 2022-09-24 09:23:02, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c :
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0231, 2022-09-24 10:24:16, ------ (0%) x = input() print(x) | # 0232, 2022-09-24 10:24:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c :
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0233, 2022-09-24 09:09:41, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0234, 2022-09-24 09:12:07, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else:
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0235, 2022-09-24 09:13:03, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else:
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0236, 2022-09-24 09:14:24, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0237, 2022-09-24 09:15:03, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else:
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0238, 2022-09-24 09:11:39, PPP-P- (67%)
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a > b:
y = b
b = a
a = y
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d>a:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0239, 2022-09-24 09:23:00, PPP-P- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
y = b
b = a
a = y
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d>a:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0240, 2022-09-24 09:26:00, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
y = b
b = a
a = y
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b= b+a
a = b+c
print(a,b,c,d)
| # 0241, 2022-09-24 09:29:10, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
y = b
b = a
a = y
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b= b+a
a = b+c
print(a,b,c,d)
| # 0242, 2022-09-24 09:30:07, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
y = b
b = a
a = y
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b= b+a
a = b+c
print(a,b,c,d)
|
# 0243, 2022-09-24 09:16:27, compilation error (0%)
a, b, c, d = [ int(e) for e in input().split() ]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
break
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a, b, c, d)
| # 0244, 2022-09-24 09:16:55, compilation error (0%)
a, b, c, d = [ int(e) for e in input().split() ]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
break
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a, b, c, d)
| # 0245, 2022-09-24 09:19:17, P--PPP (67%)
a, b, c, d = [ int(e) for e in input().split() ]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
break
else :
d -= 1
break
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a, b, c, d)
| # 0246, 2022-09-24 09:22:00, P--PPP (67%)
a, b, c, d = [ int(e) for e in input().split() ]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
break
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a, b, c, d)
| # 0247, 2022-09-24 09:29:11, PPPPPP (100%)
a, b, c, d = [ int(e) for e in input().split() ]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a, b, c, d)
|
# 0248, 2022-09-24 09:14:14, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while True:
if d>= a:
if d < a :
print (a,b,c,d)
if d < a : break
if c>d:
a+=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
print (a,b,c,d)
else :
if d<c:
c = c+d
a = b+c
print (a,b,c,d)
else :
b = b+a
a = b+ c
print(a,b,c,d)
| # 0249, 2022-09-24 09:18:48, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while True:
if d >= a:
if d < a :
print (a,b,c,d)
if d < a : break
if c>d:
a+=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
print (a,b,c,d)
else :
if d<c:
c = c+d
a = b+c
print (a,b,c,d)
else :
b = b+a
a = b+ c
print(a,b,c,d)
| # 0250, 2022-09-24 09:22:19, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while True:
if d < a :
print (a,b,c,d)
if d < a : break
if d >= a :
if c > d:
a +=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
print (a,b,c,d)
else :
if d<c:
c = c+d
a = b+c
print (a,b,c,d)
else :
b = b+a
a = b+ c
print(a,b,c,d)
| # 0251, 2022-09-24 09:23:03, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while True:
if d < a :
print (a,b,c,d)
if d < a : break
if d >= a :
if c > d:
a +=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
print (a,b,c,d)
else :
if d<c:
c = c+d
a = b+c
print (a,b,c,d)
else :
b = b+a
a = b+ c
print(a,b,c,d)
| # 0252, 2022-09-24 09:24:18, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while True:
if d < a :
print (a,b,c,d)
if d < a : break
if d >= a :
if c > d:
a +=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
print (a,b,c,d)
else :
if d>c:
c = c+d
a = b+c
print (a,b,c,d)
else :
b = b+a
a = b+ c
print(a,b,c,d)
|
# 0253, 2022-09-24 09:11:12, xxxxxx (0%)
a,b,c,d = [int(e) for e in input().split]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print (a,b,c,d)
| # 0254, 2022-09-24 09:11:31, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print (a,b,c,d)
| # 0255, 2022-09-24 09:20:01, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print (a,b,c,d)
| # 0256, 2022-09-24 09:20:30, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print (a,b,c,d)
| # 0257, 2022-09-24 09:21:19, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print (a,b,c,d)
|
# 0258, 2022-09-24 09:09:29, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a >b:
a,b = b,a
while d >=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
| # 0259, 2022-09-24 09:11:31, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a >b:
a,b = b,a
while d >=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0:
d+=a
elif d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0260, 2022-09-24 09:12:01, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a >b:
a,b = b,a
while d >=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0:
d+=a
elif d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0261, 2022-09-24 09:53:58, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a >b:
a,b = b,a
while d >=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0:
d+=a
else:
if d > c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
|
# 0262, 2022-09-24 09:09:45, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>= a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=+a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0263, 2022-09-24 09:12:00, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>= a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=+a
elif d>c:
c+=d
a=b+c
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0264, 2022-09-24 10:04:08, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>= a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=+a
else:
if d>c:
c+=d
a=b+c
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0265, 2022-09-24 10:35:34, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0266, 2022-09-24 09:17:21, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
elif c % 2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0267, 2022-09-24 09:18:24, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
elif c % 2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0268, 2022-09-24 09:18:46, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
elif c % 2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0269, 2022-09-24 09:23:45, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0270, 2022-09-24 09:10:45, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0271, 2022-09-24 09:12:12, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0272, 2022-09-24 09:13:41, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0273, 2022-09-24 09:20:37, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0274, 2022-09-24 09:19:07, PPP-PP (83%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a += 1
else :
d-= 1
else:
if c%2==0:
d+= a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0275, 2022-09-24 09:24:16, compilation error (0%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a += 1
else :
d-= 1
else:
break
else:
if c%2==0:
d+= a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0276, 2022-09-24 09:24:31, PPP-PP (83%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a += 1
else :
d-= 1
else:
if c%2==0:
d+= a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0277, 2022-09-24 09:32:29, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a += 1
else :
d-= 1
else:
if c%2==0:
d+= a
else:
if d>c:
c+=d
a=b+c
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0278, 2022-09-24 09:28:45, xxxxxx (0%)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a>b :
a=b
b=a
while d>=a :
if c>d :
a+=1
else :
d-=1
if not d>=a :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
else :
if d>c :
c = c+d
else :
b = b+a
a=b+c
print(a,b,c,d)
| # 0279, 2022-09-24 09:32:01, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a=b
b=a
while d>=a :
if c>d :
a+=1
else :
d-=1
if not d>=a :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
else :
if d>c :
c = c+d
else :
b = b+a
a=b+c
print(a,b,c,d)
| # 0280, 2022-09-24 09:33:01, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a=b
b=a
while d>=a :
if c>d :
a+=1
else :
d-=1
if not d>=a :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
else :
if d>c :
c = c+d
a =b+c
print(a,b,c,d)
else :
b = b+a
a=b+c
print(a,b,c,d)
| # 0281, 2022-09-24 09:41:11, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while d>=a :
if c>d :
a+=1
else :
d-=1
if not d>=a :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
else :
if d>c :
c = c+d
else :
b = b+a
a=b+c
print(a,b,c,d)
|
# 0282, 2022-09-24 09:16:11, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
if d >= a:
if c>d:
a+= 1
else d-=1
else:
pass
else:
if c%2 == 0:
d +=a
else:
if d > c:
c +=d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0283, 2022-09-24 09:17:57, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
if d >= a:
if c>d:
a+= 1
else:
d-=1
else:
pass
else:
if c%2 == 0:
d +=a
else:
if d > c:
c +=d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0284, 2022-09-24 09:21:45, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
if d >= a:
if c>d:
a+= 1
else:
d-=1
else:
pass
else:
if c%2 == 0:
d +=a
else:
if d > c:
c +=d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0285, 2022-09-24 09:25:36, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a+= 1
else:
d-=1
else:
pass
else:
if c%2 == 0:
d +=a
else:
if d > c:
c +=d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0286, 2022-09-24 09:12:05, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
| # 0287, 2022-09-24 09:35:57, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0288, 2022-09-24 09:36:43, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0289, 2022-09-24 10:01:21, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0290, 2022-09-24 09:14:29, ------ (0%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
| # 0291, 2022-09-24 09:19:28, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d > a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
| # 0292, 2022-09-24 09:20:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2==0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
| # 0293, 2022-09-24 10:21:26, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0294, 2022-09-24 09:14:02, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2==0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
| # 0295, 2022-09-24 09:14:30, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2==0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
| # 0296, 2022-09-24 09:14:38, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2==0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
| # 0297, 2022-09-24 09:14:50, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2==0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0298, 2022-09-24 09:55:56, xxxxxx (0%)
x = input()
y = x.replace("-",",-")
z = y.replace ("+",",+")
l = z.split(",")
if l[0] == "":
l.pop(0)
for i in range(len(l)):
if l[i][0] == "+":
l[i] = l[i][1:len(l[i])]
l[i] = int(l[i])
else:
l[i] = int(l[i])
print(sum(l))
| # 0299, 2022-09-24 09:59:00, xxxxxx (0%)
x = input()
y = x.replace("-",",-")
z = y.replace ("+",",+")
l = z.split(",")
if l[0] == "":
l.pop(0)
for i in range(len(l)):
if l[i][0] == "+":
l[i] = l[i][1:len(l[i])]
l[i] = int(l[i])
else:
l[i] = int(l[i])
print(sum(l))
| # 0300, 2022-09-24 09:59:41, xxxxxx (0%)
x = input()
y = x.replace("-",",-")
z = y.replace ("+",",+")
l = z.split(",")
if l[0] == "":
l.pop(0)
for i in range(len(l)):
if l[i][0] == "+":
l[i] = l[i][1:len(l[i])]
l[i] = int(l[i])
else:
l[i] = int(l[i])
print(str(sum(l)))
| # 0301, 2022-09-24 10:10:57, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d += -1
else:
if c%2 == 0:
d += a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0302, 2022-09-24 09:15:54, compilation error (0%)
x=input().split.()
for i in range len(x):
x[i]=int(x[i])
a=x[0]
b=x[1]
c=x[2]
d=x[3]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
elif c%2!=0:
if d>c:
c+=d
else:
b+=a
else:
d+=a
print(a,b,c,d)
| # 0303, 2022-09-24 09:18:07, compilation error (0%)
x=input().split()
for i in range len(x):
x[i]=int(x[i])
a=x[0]
b=x[1]
c=x[2]
d=x[3]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
elif c%2!=0:
if d>c:
c+=d
else:
b+=a
else:
d+=a
print(a,b,c,d)
| # 0304, 2022-09-24 09:18:52, PPPP-- (67%)
x=input().split()
for i in range (len(x)):
x[i]=int(x[i])
a=x[0]
b=x[1]
c=x[2]
d=x[3]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
elif c%2!=0:
if d>c:
c+=d
else:
b+=a
else:
d+=a
print(a,b,c,d)
| # 0305, 2022-09-24 09:20:10, PPPPPP (100%)
x=input().split()
for i in range (len(x)):
x[i]=int(x[i])
a=x[0]
b=x[1]
c=x[2]
d=x[3]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
elif c%2!=0:
if d>c:
c+=d
else:
b+=a
a=b+c
else:
d+=a
print(a,b,c,d)
|
# 0306, 2022-09-24 09:18:04, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
[a,b] = [b,a]
while d >= a :
if c > d :
a += 1
else :
d -= 1
elif c%2 == 0 :
d += a
elif d >c :
c =c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0307, 2022-09-24 10:10:29, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
[a,b] = [b,a]
for i in range(d >= a) :
if c > d :
a += 1
else :
d -= 1
else :
pass
elif c%2 == 0 :
d += a
elif d >c :
c =c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0308, 2022-09-24 10:19:56, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
[a,b] = [b,a]
for i in range(d >= a) :
if c > d :
a += 1
break
else :
d -= 1
break
elif c%2 == 0 :
d += a
else :
if d >c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
| # 0309, 2022-09-24 10:31:13, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
[a,b] = [b,a]
while d >= a :
if c > d :
a += 1
else :
d -= 1
elif c%2 == 0 :
d += a
else :
if d >c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0310, 2022-09-24 09:21:44, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>= a:
if c>d:
a += 1
else:
d -= 1
elif c%2==0:
d = d +a
break
elif d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0311, 2022-09-24 09:22:01, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>= a:
if c>d:
a += 1
else:
d -= 1
elif c%2==0:
d = d +a
elif d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0312, 2022-09-24 10:12:22, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2==0:
d = d +a
elif d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0313, 2022-09-24 10:14:20, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2==0:
d = d +a
elif d>c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0314, 2022-09-24 09:14:54, xxxxxx (0%)
a,b,c,d = input()
if a > b:
a,b = b,a
while d >= a :
if c>d:
a+=1
else:
d-=1
else:
if c%2 ==0:
d = d+a
else:
if d>c:
c = c+d
else:
b=b+a
a =b+c
print(a,b,c,d)
| # 0315, 2022-09-24 09:18:36, PPP-PP (83%)
data=input().split()
a = int(data[0])
b = int(data[1])
c = int(data[2])
d=int(data[3])
if a > b:
a,b = b,a
while d >= a :
if c>d:
a+=1
else:
d-=1
else:
if c%2 ==0:
d = d+a
else:
if d>c:
c = c+d
else:
b=b+a
a =b+c
print(a,b,c,d)
| # 0316, 2022-09-24 09:20:10, PPP-PP (83%)
data=input().split()
a = int(data[0])
b = int(data[1])
c = int(data[2])
d=int(data[3])
if a > b:
a,b = b,a
while d >= a :
if c>d:
a+=1
else:
d-=1
if d<a:break
else:
if c%2 ==0:
d = d+a
else:
if d>c:
c = c+d
else:
b=b+a
a =b+c
print(a,b,c,d)
| # 0317, 2022-09-24 09:21:33, PPPPPP (100%)
data=input().split()
a = int(data[0])
b = int(data[1])
c = int(data[2])
d=int(data[3])
if a > b:
a,b = b,a
while d >= a :
if c>d:
a+=1
else:
d-=1
else:
if c%2 ==0:
d = d+a
else:
if d>c:
c = c+d
else:
b=b+a
a =b+c
print(a,b,c,d)
|
# 0318, 2022-09-24 09:12:19, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c % 2 ==0:
d += a
print(a,b,c,d)
else :
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0319, 2022-09-24 10:28:05, ------ (0%)
x = input()
print(x)
| # 0320, 2022-09-24 10:28:27, xxxxxx (0%) x = input() print(int(x)) | # 0321, 2022-09-24 10:38:45, xxxxxx (0%)
x = input()
c = []
y = ""
for i in range(len(x)):
if x[i]>"0" and x[i] <= "9":
y += x[i]
else:
c.append(y)
y = ""
c.append(y)
p = [int(e) for e in c]
print(sum(p))
|
# 0322, 2022-09-24 09:12:16, compilation error (0%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=a+b+c
else:
d+=a
print(a,b,c,d)
| # 0323, 2022-09-24 09:13:17, PPPP-- (67%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=a+b+c
print(a,b,c,d)
| # 0324, 2022-09-24 09:14:55, PPPP-- (67%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=a+b+c
print(a,b,c,d)
| # 0325, 2022-09-24 09:16:24, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0326, 2022-09-24 09:13:49, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
if d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2!=0:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0327, 2022-09-24 09:14:25, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
if d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2!=0:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0328, 2022-09-24 09:20:55, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
print(a)
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
elif d>c:
c+=d
a=b+c
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0329, 2022-09-24 09:21:52, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0330, 2022-09-24 09:10:40, xxxPPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b=a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
print(a,b,c,d)
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0331, 2022-09-24 09:11:00, xxxPPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b=a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
print(a,b,c,d)
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0332, 2022-09-24 09:11:54, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
print(a,b,c,d)
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0333, 2022-09-24 09:12:55, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a, b, c, d)
else:
if c % 2 == 0:
d = d+a
print(a, b, c, d)
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a, b, c, d)
|
# 0334, 2022-09-24 09:08:41, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else
d-=1
else:
if c%2==0:
d = d+a
elif d>c:
c = c+d
else:
b = b+a
a=b+c
print(a, b, c, d)
| # 0335, 2022-09-24 09:09:03, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
elif d>c:
c = c+d
else:
b = b+a
a=b+c
print(a, b, c, d)
| # 0336, 2022-09-24 09:09:19, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
elif d>c:
c = c+d
else:
b = b+a
a=b+c
print(a, b, c, d)
| # 0337, 2022-09-24 09:10:16, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
print(a, b, c, d)
quit()
elif d>c:
c = c+d
else:
b = b+a
a=b+c
print(a, b, c, d)
|
# 0338, 2022-09-24 09:13:20, xxxxxx (0%)
#quiz_QUIZ
a,b,c,d = [input(e) for e in input().split]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else:
d += 1
else :
if c % 2 != 0 :
if d > c :
c = c + d
else:
b = b + a
a = b + c
else :
d = d + a
print(a,b,c,d)
| # 0339, 2022-09-24 09:16:31, PPTPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else:
d += 1
else :
if c % 2 != 0 :
if d > c :
c = c + d
else:
b = b + a
a = b + c
else :
d = d + a
print(a,b,c,d)
| # 0340, 2022-09-24 09:32:33, PPPPP- (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else:
d -= 1
else :
if c % 2 != 0 :
if d > c :
c = c + d
else:
b = b + c
a = b + c
else:
d = d + a
print(a,b,c,d)
| # 0341, 2022-09-24 09:47:07, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else:
d -= 1
else :
if c % 2 != 0 :
if d > c :
c = c + d
else:
b = b + a
a = b + c
else:
d = d + a
print(a,b,c,d)
|
# 0342, 2022-09-24 09:11:48, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a
if c > d:
a +=1
else :
d -= 1
else :
if c%2 ==0 :
d +=a
else:
if d > c :
c += d
else:
b +=a
a = b + c
print(a,b,c,d)
| # 0343, 2022-09-24 09:15:08, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a
if c > d:
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d =d+a
else:
if d > c :
c =c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0344, 2022-09-24 09:16:47, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else:
if d > c :
c =c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0345, 2022-09-24 09:19:23, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else:
if d > c :
c =c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
|
# 0346, 2022-09-24 09:09:10, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:a+=1
else:d-=1
print(a,b,c,d)
else:
if c%2==0:d+=a
elif d>c:c+=d
else: b+=a
a=b+c
print(a,b,c,d)
| # 0347, 2022-09-24 09:10:36, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:a+=1
else:d-=1
print(a,b,c,d)
else:
if c%2==0:d+=a
else:
if d>c:c+=d
else: b+=a
a=b+c
print(a,b,c,d)
| # 0348, 2022-09-24 09:14:12, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:a+=1
else:d-=1
print(a,b,c,d)
else:
if c%2==0:d+=a
else:
if d>c:c+=d
else: b+=a
a=b+c
print(a,b,c,d)
| # 0349, 2022-09-24 09:14:50, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:a+=1
else:d-=1
print(a,b,c,d)
else:
if c%2==0:d+=a
else:
if d>c:c+=d
else: b+=a
a=b+c
print(a,b,c,d)
|
# 0350, 2022-09-24 09:15:18, xxxPPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a = int(b)
b = int(a0)
while True:
if d>=a:
if c>d:
a += 1
else:
d = d-1
else:
print(a,b,c,d)
break
else:
if c % 2 == 0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
a = b+c
print(a,b,c,d)
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0351, 2022-09-24 09:16:58, xxxPPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a = int(b)
b = int(a0)
while True:
if d>=a:
if c>d:
a += 1
continue
else:
d = d-1
continue
else:
print(a,b,c,d)
break
else:
if c % 2 == 0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
a = b+c
print(a,b,c,d)
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0352, 2022-09-24 10:16:34, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
[a,b,c,d] = [b,a,c,d]
while True:
if d>=a:
if c>d:
a += 1
continue
else:
d = d-1
continue
else:
break
else:
if c % 2 == 0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
a = b+c
print(a,b,c,d)
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0353, 2022-09-24 10:26:20, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
[a,b,c,d] = [b,a,c,d]
while True:
if d>=a:
if c>d:
a += 1
continue
else:
d = d-1
continue
else:
print(a,b,c,d)
break
else:
if c % 2 == 0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
a = b+c
print(a,b,c,d)
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0354, 2022-09-24 09:11:15, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
elif d > c :
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0355, 2022-09-24 09:12:43, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
pass
else :
if c % 2 == 0 :
d += a
elif d > c :
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0356, 2022-09-24 09:16:46, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
pass
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c = c+d
else :
b = b+a
a = b + c
print(a,b,c,d)
|
# 0357, 2022-09-24 09:10:32, xxxxxx (0%)
a,b,c,d = [int(e) for e in input.split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >c :
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0358, 2022-09-24 09:12:21, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >c :
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0359, 2022-09-24 09:13:41, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >c :
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
|
# 0360, 2022-09-24 09:13:14, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d>c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0361, 2022-09-24 10:03:15, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0362, 2022-09-24 10:29:27, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0363, 2022-09-24 09:09:37, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0364, 2022-09-24 09:12:52, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0365, 2022-09-24 09:14:20, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0366, 2022-09-24 09:29:30, T--PP- (33%)
x = [int(i) for i in input().split()]
a = x[0]
b = x[1]
c = x[2]
d = x[3]
if a > b :
a = x[1]
b = x[0]
while d < a :
if c > d :
a += 1
else :
d += -1
else :
if c%2 == 0 :
d = x[3]+x[0]
else :
if d > c :
c = x[2]+x[3]
else :
a = x[0]+x[1]
a = b+c
print(a,b,c,d)
| # 0367, 2022-09-24 09:31:19, PPPPP- (83%)
x = [int(i) for i in input().split()]
a = x[0]
b = x[1]
c = x[2]
d = x[3]
if a > b :
a = x[1]
b = x[0]
while d >= a :
if c > d :
a += 1
else :
d += -1
else :
if c%2 == 0 :
d = x[3]+x[0]
else :
if d > c :
c = x[2]+x[3]
else :
a = x[0]+x[1]
a = b+c
print(a,b,c,d)
| # 0368, 2022-09-24 09:37:16, PPPPPP (100%)
x = [int(i) for i in input().split()]
a = x[0]
b = x[1]
c = x[2]
d = x[3]
if a > b :
a = x[1]
b = x[0]
while d >= a :
if c > d :
a += 1
else :
d += -1
else :
if c%2 == 0 :
d = x[3]+x[0]
else :
if d > c :
c = x[2]+x[3]
else :
b = x[0]+x[1]
a = b+c
print(a,b,c,d)
|
# 0369, 2022-09-24 09:11:46, xxxxxx (0%)
a = input()
b = input()
c = input()
d = input()
if a > b :
a = b , b = a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
elif c%2 == 0 :
d += a
print(a,b,c,d)
elif d > c :
c += d
a = b + c
print(a,b,c,d)
else :
b += a
a = b + c
print(a,b,c,d)
| # 0370, 2022-09-24 09:12:51, xxxPPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a = b , b = a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
elif c%2 == 0 :
d += a
print(a,b,c,d)
elif d > c :
c += d
a = b + c
print(a,b,c,d)
else :
b += a
a = b + c
print(a,b,c,d)
| # 0371, 2022-09-24 09:17:55, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
x = 0
y = 0
x += a
y += b
if a > b :
a = 0
b = 0
a += y
b += x
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
elif c%2 == 0 :
d += a
print(a,b,c,d)
elif d > c :
c += d
a = b + c
print(a,b,c,d)
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0372, 2022-09-24 09:11:47, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while d>=a:
if c>d :
a+=1
else:
d-=1
else:
if c%2 ==0:
d=d+a
if d>c :
c=c+d
else:b=b+a
a =b+c
print(a,b,c,d)
| # 0373, 2022-09-24 10:30:27, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while d>=a:
if c>d :
a+=1
else:
d-=1
else:
if c%2 ==0:
d=d+a
elif d>c :
c=c+d
else:b=b+a
a =b+c
print(a,b,c,d)
| # 0374, 2022-09-24 10:33:58, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while d>=a:
if c>d :
a+=1
else:
d-=1
else:
if c%2 ==0:
d=d+a
else:
if d>c :
c=c+d
else:b=b+a
a =b+c
print(a,b,c,d)
|
# 0375, 2022-09-24 09:14:14, PPT-PP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
A = b
B = a
while d >= A :
if c > d:
A +=1
else:
B -=1
print(A,B,c,d)
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
else:
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0376, 2022-09-24 09:14:29, PPT-PP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
A = b
B = a
while d >= A :
if c > d:
A +=1
else:
B -=1
print(A,B,c,d)
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
else:
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0377, 2022-09-24 09:27:56, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
A = b
B = a
while d >= A :
if c > d:
A += 1
else:
d -= 1
print(A,B,c,d)
else:
if c % 2 == 0 :
D = d + a
print(a,b,c,D)
else:
if d > c :
C = c+d
A = b+C
print(A,b,C,d)
else:
B = b+a
A = B+c
print(A,B,c,d)
|
# 0378, 2022-09-24 09:12:00, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
print(a,b,c,d)
elif c%2==0:
d+=a
elif d>c:
c+=d
a = b+c
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0379, 2022-09-24 09:17:14, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c > d:
a+=1
else:
d-=1
else:
print(a,b,c,d)
else:
if c%2==0:
d+=a
print(a,b,c,d)
elif d>c:
c+=d
a=b+c
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0380, 2022-09-24 10:23:57, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c > d:
a+=1
else:
d-=1
else:
print(a,b,c,d)
else:
if c%2==0:
d+=a
print(a,b,c,d)
elif d>c:
c+=d
a=b+c
print(a,b,c,d)
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0381, 2022-09-24 09:12:05, PP-PPP (83%)
a,b,c,d=input().split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
if a>b:
a,b=b,a
while d>=a:
if c>d:
a +=1
else:
d -= a
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a= b+c
print(a,b,c,d)
| # 0382, 2022-09-24 10:07:17, PP-PPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a +=1
else:
d -= a
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a= b+c
print(a,b,c,d)
| # 0383, 2022-09-24 10:07:45, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a +=1
else:
d -= 1
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a= b+c
print(a,b,c,d)
|
# 0384, 2022-09-24 09:13:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
p = a
q = b
a = q
b = p
while d >= a :
if c>d :
a+=1
else:
d-=1
else:
if c %2 == 0 :
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0385, 2022-09-24 09:14:03, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
p = a
q = b
a = q
b = p
while d >= a :
if c>d :
a+=1
else:
d-=1
else:
if c %2 == 0 :
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0386, 2022-09-24 09:15:56, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
p = a
q = b
a = q
b = p
while d >= a :
if c>d :
a+=1
else:
d-=1
else:
if c %2 == 0 :
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
|
# 0387, 2022-09-24 09:12:33, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
x = a
a = b
b = x
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
break
elif c % 2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0388, 2022-09-24 09:12:47, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
x = a
a = b
b = x
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
break
elif c % 2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0389, 2022-09-24 09:17:29, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
x = a
a = b
b = x
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0390, 2022-09-24 09:24:01, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c + d
a = b + c
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0391, 2022-09-24 09:27:16, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
pass
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c + d
a = b + c
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0392, 2022-09-24 09:38:15, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
pass
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c + d
a = b + c
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0393, 2022-09-24 09:33:39, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
w = a
x = b
def a_b(a,b,x,w,d,c):
if a>b:
a=x
b=w
d_a(d,a,c,d)
else:
c_even(c,d,a,b)
def d_a(d,a,c,b):
if d>= a:
cd(c,d,a)
else:
abcd(a,b,c,d)
def cd(c,d,a):
if c>d:
a += 1
d_a(d,a,c,b)
else:
d -= 1
d_a(d,a,c,b)
def c_even(c,d,a,b):
if c%2 ==0:
d += a
abcd(a,b,c,d)
else:
dc(c,d,a,b)
def dc(c,d,a,b):
if d>c:
c += d
a = b+c
abcd(a,b,c,d)
else:
b += a
a = b+c
abcd(a,b,c,d)
def abcd(a,b,c,d):
print(a,b,c,d)
a_b(a,b,x,w,d,c)
| # 0394, 2022-09-24 09:46:18, ------ (0%)
a,b,c,d = [int(e) for e in input().split()]
w = a
x = b
def a_b(a,b,x,w,d,c):
if a>b:
a=x
b=w
print(a,b,c,d)
d_a(d,a,c,b)
else:
print(a,b,c,d)
c_even(c,d,a,b)
def d_a(d,a,c,b):
if d>= a:
print(a,b,c,d)
cd(c,d,a,b)
else:
print(a,b,c,d)
abcd(a,b,c,d)
def cd(c,d,a,b):
if c>d:
a += 1
print(a,b,c,d)
d_a(d,a,c,b)
else:
d -= 1
print(a,b,c,d)
d_a(d,a,c,b)
def c_even(c,d,a,b):
if c%2 ==0:
d += a
print(a,b,c,d)
abcd(a,b,c,d)
else:
print(a,b,c,d)
dc(c,d,a,b)
def dc(c,d,a,b):
if d>c:
c += d
a = b+c
print(a,b,c,d)
abcd(a,b,c,d)
else:
b += a
a = b+c
print(a,b,c,d)
abcd(a,b,c,d)
def abcd(a,b,c,d):
print(a,b,c,d)
a_b(a,b,x,w,d,c)
| # 0395, 2022-09-24 09:47:11, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
w = a
x = b
def a_b(a,b,x,w,d,c):
if a>b:
a=x
b=w
d_a(d,a,c,b)
else:
c_even(c,d,a,b)
def d_a(d,a,c,b):
if d>= a:
cd(c,d,a,b)
else:
abcd(a,b,c,d)
def cd(c,d,a,b):
if c>d:
a += 1
d_a(d,a,c,b)
else:
d -= 1
d_a(d,a,c,b)
def c_even(c,d,a,b):
if c%2 ==0:
d += a
abcd(a,b,c,d)
else:
dc(c,d,a,b)
def dc(c,d,a,b):
if d>c:
c += d
a = b+c
abcd(a,b,c,d)
else:
b += a
a = b+c
abcd(a,b,c,d)
def abcd(a,b,c,d):
print(a,b,c,d)
a_b(a,b,x,w,d,c)
|
# 0396, 2022-09-24 09:19:29, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
temp = 0
if a>b:
temp = int(a)
a = b
b = temp
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else: b = b+a
a = b+c
print(a,b,c,d)
| # 0397, 2022-09-24 10:07:23, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
temp = 0
if a>b:
temp = int(a)
a = int(b)
b = temp
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else: b = b+a
a = b+c
print(a,b,c,d)
| # 0398, 2022-09-24 10:09:10, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
temp = 0
if a>b:
temp = int(a)
a = int(b)
b = temp
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0399, 2022-09-24 09:14:10, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
if d>=a:
if c>d:
a+=1
else:
d-=1
else :
if c%2==0 :
d=d+a
else :
if d>c :
c=c+d
else :
b=b+a
a=b+c
print (a,b,c,d)
| # 0400, 2022-09-24 09:50:28, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
if d>=a:
if c>d:
a+=1
else:
d-=1
else :
print (a,b,c,d)
else :
if c%2==0 :
d=d+a
else :
if d>c :
c=c+d
else :
b=b+a
a=b+c
print (a,b,c,d)
| # 0401, 2022-09-24 09:53:34, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print (a,b,c,d)
else :
if c%2==0 :
d=d+a
else :
if d>c :
c=c+d
else :
b=b+a
a=b+c
print (a,b,c,d)
|
# 0402, 2022-09-24 09:24:21, compilation error (0%)
a,b,c,d=[int(e) for e in input().split()]
A=True
if a>b :
[a,b]=[b,a]
while True:
if d>=a:
if c>d:
a+=1
else:
d-=1
else: break
elif c%2==0:
d=d+a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0403, 2022-09-24 09:50:40, compilation error (0%)
a,b,c,d=[int(e) for e in input().split()]
A=True
if a>b :
[a,b]=[b,a]
while True:
if d>=a:
if c>d:
a+=1
else:
d-=1
else: break
elif c%2==0:
d=d+a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0404, 2022-09-24 10:23:07, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
A=True
if a>b :
[a,b]=[b,a]
while True:
if d>=a:
if c>d:
a+=1
else:
d-=1
else: break
elif c%2==0:
d=d+a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0405, 2022-09-24 09:21:34, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0406, 2022-09-24 09:24:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0407, 2022-09-24 09:24:12, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0408, 2022-09-24 09:16:06, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
if d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0409, 2022-09-24 09:20:51, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
if d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0410, 2022-09-24 09:23:32, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
while True:
if d>=a:
if c>d:
a+=1
else:
d-=1
else:
break
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0411, 2022-09-24 09:12:21, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
else:
a,b=b,a
while(d>=a):
if c>d:
a+=1
eles:
d-=1
print(a,b,c,d)
| # 0412, 2022-09-24 09:14:15, ------ (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
else:
a,b=b,a
while(d>=a):
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
| # 0413, 2022-09-24 09:19:55, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while(d>=a):
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0414, 2022-09-24 09:13:58, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >=a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0415, 2022-09-24 10:28:36, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >=a:
if c>d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0416, 2022-09-24 10:33:51, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >=a:
if c>d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0417, 2022-09-24 09:29:15, ------ (0%)
a, b, c, d = [int(e) for e in input().split()]
#print(a, b, c, d)
if a > b:
temb_a = a
temb_b = b
a = temb_b
b = temb_a
while d >= a:
if c > d:
a += 1
else:
d -= 1
| # 0418, 2022-09-24 09:34:18, PPP-PP (83%)
a, b, c, d = [int(e) for e in input().split()]
#print(a, b, c, d)
if a > b:
temb_a = a
temb_b = b
a = temb_b
b = temb_a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
| # 0419, 2022-09-24 10:34:32, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
#print(a, b, c, d)
if a > b:
temb_a = a
temb_b = b
a = temb_b
b = temb_a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0420, 2022-09-24 09:11:36, PP-PPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c >= d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0421, 2022-09-24 09:11:52, PP-PPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c >= d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0422, 2022-09-24 09:59:51, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c > d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0423, 2022-09-24 09:10:07, PPPPPP (100%)
# 2565_1_Quiz_1_1.py
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0424, 2022-09-24 10:04:18, xxxxxx (0%)
# 2565_1_Quiz_1_2.py
def f1(a, b, c):
x = [a,b,c]
if a < 0:
x.remove(a)
if b < 0:
x.remove(b)
if c < 0:
x.remove(c)
return min(x)
def f2(a, b, c):
x = [a,b,c]
if a > 0:
x.remove(a)
if b > 0:
x.remove(b)
if c > 0:
x.remove(c)
return max(x)
def f3(a, b, c):
return int(str(abs(a+b+c))[0])
def f4(a, b, c):
return int(str(abs(a+b+c))[-1])
def main():
s1, s2, a, b, c = [int(e) for e in input().split()]
if s1 == 0 and s2 == 0:
print(f1(a,b,c))
elif s1 == 0 and s2 == 1:
print(f2(a,b,c))
elif s1 == 1 and s2 == 0:
print(f3(a,b,c))
elif s1 == 1 and s2 == 1:
print(f4(a,b,c))
else:
print('Error')
exec(input())
| # 0425, 2022-09-24 10:04:31, PPPPPP (100%)
# 2565_1_Quiz_1_1.py
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0426, 2022-09-24 09:26:04, PPPP-- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a , b = b , a
while d >= a:
if c > d:
a = a + 1
else :
d = d - 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c:
c > c + a
else :
b = b + a
a = b + a
print(a,b,c,d)
| # 0427, 2022-09-24 09:28:23, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a , b = b , a
while d >= a:
if c > d:
a = a + 1
else :
d = d - 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c:
c > c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0428, 2022-09-24 09:29:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a , b = b , a
while d >= a:
if c > d:
a = a + 1
else :
d = d - 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0429, 2022-09-24 09:12:07, P-T-PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0430, 2022-09-24 09:14:33, P-TPPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0431, 2022-09-24 09:20:00, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0432, 2022-09-24 09:12:50, PPP-PP (83%)
a,b,c,d = input().split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0433, 2022-09-24 09:13:01, PPP-PP (83%)
a,b,c,d = input().split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0434, 2022-09-24 09:49:21, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0435, 2022-09-24 09:10:45, PPPPP- (83%)
ඞ = int
ก, ข, ค, ง = (ඞ(ฆ) for ฆ in input().split(' '))
if ก > ข:
ก, ข = ข, ก
while ง >= ก:
if ค > ง:
ก += 1
else:
ง -= 1
else:
if ค % ඞ("๒") == ඞ("๐"):
ง += ก
else:
if ง >= ค:
ค += ง
else:
ข += ก
ก = ข + ค
print(ก, ข, ค, ง)
| # 0436, 2022-09-24 09:11:29, PPPPP- (83%)
ඞ = int
ก, ข, ค, ง = (ඞ(ฆ) for ฆ in input().strip().split(' '))
if ก > ข:
ก, ข = ข, ก
while ง >= ก:
if ค > ง:
ก += 1
else:
ง -= 1
else:
if ค % ඞ("๒") == ඞ("๐"):
ง += ก
else:
if ง >= ค:
ค += ง
else:
ข += ก
ก = ข + ค
print(ก, ข, ค, ง)
| # 0437, 2022-09-24 09:29:15, PPPPPP (100%)
ඞ = int
ก, ข, ค, ง = (ඞ(ฆ) for ฆ in input().split(' '))
if ก > ข:
ก, ข = ข, ก
while ง >= ก:
if ค > ง:
ก += 1
else:
ง -= 1
else:
if ค % ඞ("๒") == ඞ("๐"):
ง += ก
else:
if ง > ค:
ค += ง
else:
ข += ก
ก = ข + ค
print(ก, ข, ค, ง)
|
# 0438, 2022-09-24 09:08:56, PPP-PP (83%)
a, b, c, d = [int(e) for e in input().split()]
if(a > b):
a, b = b, a
while(d >= a):
if(c > d):
a += 1
else:
d -= 1
else:
if(not c & 1):
d += a
elif(d > c):
c += d
else:
b += a
a = b + c
print(a, b, c, d)
| # 0439, 2022-09-24 09:14:09, PPP-PP (83%)
a, b, c, d = [int(e) for e in input().split()]
if(a > b):
a, b = b, a
while(d >= a):
if(c > d):
a += 1
else:
d -= 1
else:
if(c % 2 == 0):
d += a
elif(d > c):
c += d
else:
b += a
a = b + c
print(a, b, c, d)
| # 0440, 2022-09-24 09:30:31, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if(a > b):
a, b = b, a
while(d >= a):
if(c > d):
a += 1
else:
d -= 1
else:
if(c % 2 == 0):
d += a
else:
if(d > c):
c += d
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0441, 2022-09-24 10:32:12, xxxxxx (0%)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a > b:
a,b = b,a
while d>=a:
if c > d:
a = a + 1
else:
d = d - 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b+c
print(a ,b,c,d)
| # 0442, 2022-09-24 10:33:08, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>=a:
if c > d:
a = a + 1
else:
d = d - 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a ,b,c,d)
| # 0443, 2022-09-24 10:35:03, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>=a:
if c > d:
a = a + 1
else:
d = d - 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a ,b,c,d)
|
# 0444, 2022-09-24 09:15:02, xxxxxx (0%)
x = [int(e) for e in input().split()]
if a > b:
e = a
f = b
a = f
b = e
while d >= a:
if c > d:
a += 1
else:
d -= 1
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0445, 2022-09-24 09:18:25, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
e = a
f = b
a = f
b = e
while d >= a:
if c > d:
a += 1
else:
d -= 1
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0446, 2022-09-24 09:23:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
e = a
f = b
a = f
b = e
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0447, 2022-09-24 09:14:22, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0448, 2022-09-24 09:14:35, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0449, 2022-09-24 09:16:16, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0450, 2022-09-24 09:24:53, PPPx-- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a=a+1
else:
d=d-1
else:
if c%2 == 0 :
d=d+a
print(a,b,c,d)
if d>C:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0451, 2022-09-24 09:46:18, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b)=(b,a)
while True:
if not d>=a:break
if c>d :
a=a+1
else:
d=d-1
else:
if c%2 == 0 :
d=d+a
print(a,b,c,d)
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0452, 2022-09-24 09:48:39, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b)=(b,a)
while True:
if not d>=a:break
if c>d :
a=a+1
else:
d=d-1
else:
if c%2 == 0 :
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0453, 2022-09-24 09:13:42, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else:
d -= 1
else:
break
else :
if c % 2 == 0 :
d = d + a
else :
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0454, 2022-09-24 09:16:45, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else:
d -= 1
else:
break
else :
if c % 2 == 0 :
d = d + a
else :
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0455, 2022-09-24 09:19:00, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else:
d -= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0456, 2022-09-24 09:13:23, PPP-PP (83%)
q=[int(e) for e in input().split()]
a=q[0]
b=q[1]
c=q[2]
d=q[3]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d=d-1
if d<a:
break
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0457, 2022-09-24 10:35:18, compilation error (0%)
q=[int(e) for e in input().split()]
a=q[0]
b=q[1]
c=q[2]
d=q[3]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d=d-1
if d<a:
break
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0458, 2022-09-24 10:35:32, PPPPPP (100%)
q=[int(e) for e in input().split()]
a=q[0]
b=q[1]
c=q[2]
d=q[3]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d=d-1
if d<a:
break
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0459, 2022-09-24 09:12:22, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0460, 2022-09-24 09:12:38, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0461, 2022-09-24 09:13:21, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0462, 2022-09-24 09:13:18, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d >c :
c = c+d
else:
b=b+a
a = b+c
print(a,b,c,d)
| # 0463, 2022-09-24 09:13:31, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d >c :
c = c+d
else:
b=b+a
a = b+c
print(a,b,c,d)
| # 0464, 2022-09-24 09:57:12, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c :
c = c+d
else:
b=b+a
a = b+c
print(a,b,c,d)
|
# 0465, 2022-09-24 09:16:41, PPP-PP (83%)
a,b,c,d =[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0466, 2022-09-24 09:18:13, PPPPPP (100%)
a,b,c,d =[int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0467, 2022-09-24 09:11:51, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
else:
if d<c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0468, 2022-09-24 09:14:33, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0469, 2022-09-24 09:10:07, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d=d-1
else:
if c%2==0:
d=d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0470, 2022-09-24 09:12:16, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d=d-1
else:
if c%2==0:
d=d+a
elif d>c:
c=c+d
a=b+c
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0471, 2022-09-24 09:12:23, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+a
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0472, 2022-09-24 09:14:22, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0473, 2022-09-24 09:12:47, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while 1:
if d>=a:
if c>d:
a+=1
else :
d-=1
else :
break
else :
if c%2==1 :
d = d+a
else:
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0474, 2022-09-24 09:13:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while 1:
if d>=a:
if c>d:
a+=1
else :
d-=1
else :
break
else :
if c%2==0 :
d = d+a
else:
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0475, 2022-09-24 09:10:49, compilation error (0%)
### Grader 1 ###
#1
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -=1
else:
if c%2 == 0:
d = d+a
break
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0476, 2022-09-24 09:11:57, PPPPPP (100%)
### Grader 1 ###
#1
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d -=1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0477, 2022-09-24 09:16:48, xxxxxx (0%)
a,b,c,d = [int(e) for e in input.split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0478, 2022-09-24 09:18:08, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0479, 2022-09-24 09:13:30, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
elif d>c :
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0480, 2022-09-24 10:12:25, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c :
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0481, 2022-09-24 09:09:42, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
if d>= a:
if c>d :
a +=1
else :
d-=1
elif c%2==0 :
d = d+a
elif d>c :
c = c+d
a = b+c
else :
b =b+a
a = b+c
print(a,b,c,d)
| # 0482, 2022-09-24 09:10:49, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>= a:
if c>d :
a +=1
else :
d-=1
elif c%2==0 :
d = d+a
elif d>c :
c = c+d
a = b+c
else :
b =b+a
a = b+c
print(a,b,c,d)
|
# 0483, 2022-09-24 09:12:10, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
print(a,b,c,d)
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0484, 2022-09-24 09:12:30, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
print(a,b,c,d)
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0485, 2022-09-24 09:11:20, PPP-PP (83%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a>b :
a1 = a
b1 = b
a = b1
b = a1
while d>=a :
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0 :
d = d+a
else:
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0486, 2022-09-24 09:12:55, PPPPPP (100%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a>b :
a1 = a
b1 = b
a = b1
b = a1
while d>=a :
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0 :
d = d+a
else:
if d>c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0487, 2022-09-24 09:14:00, xxxxxx (0%)
a=int(input())
b=int(input())
c=int(input())
d=int(input())
if a>b:
(a,b)=(b,a)
while d>= a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0488, 2022-09-24 09:15:53, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b)=(b,a)
while d>= a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0489, 2022-09-24 09:14:12, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b +a
a = b + c
print(a,b,c,d)
| # 0490, 2022-09-24 10:16:05, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
elif d > c:
c = c + d
a = b + c
else:
b = b +a
a = b + c
print(a,b,c,d)
|
# 0491, 2022-09-24 09:17:01, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
aa = a
bb = b
b = aa
a = bb
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
| # 0492, 2022-09-24 09:19:42, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
aa = a
bb = b
b = aa
a = bb
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
print(a,b,c,d)
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0493, 2022-09-24 09:13:32, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c %2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0494, 2022-09-24 09:14:11, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c %2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0495, 2022-09-24 09:27:27, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a+=1
else :
d-=1
else : print(a,b,c,d)
else :
if c%2==0 :
d=d+a
else :
if d<c :
c=c+d
a=b+c
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0496, 2022-09-24 09:34:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a+=1
else :
d-=1
else : print(a,b,c,d)
else :
if c%2==0 :
d=d+a
else :
if d>c :
c=c+d
a=b+c
else :
b=b+a
a=b+c
print(a,b,c,d)
|
# 0497, 2022-09-24 09:12:52, PPTPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a +=1
else:
d +=1
else :
if c%2 != 0:
if d>c:
c = c + d
else:
b = b + a
a = b+c
else :
d = d+a
print(a,b,c,d)
| # 0498, 2022-09-24 09:16:10, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a +=1
else:
d -=1
else :
if c%2 != 0:
if d>c:
c = c + d
else:
b = b + a
a = b+c
else :
d = d+a
print(a,b,c,d)
|
# 0499, 2022-09-24 09:11:33, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0 and c==0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0500, 2022-09-24 09:55:44, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0 or c==0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0501, 2022-09-24 09:15:52, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b =b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
pass
else:
if c%2 = 0:
d = d+a
else:
if d > c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0502, 2022-09-24 09:16:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b =b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
pass
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0503, 2022-09-24 09:13:27, PPPPPP (100%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0504, 2022-09-24 09:15:09, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0505, 2022-09-24 09:11:14, xxxxxx (0%)
a,b,c,d = [int(e) for e in input.split()]
if a>b:
z=a
a=b
b=z
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0506, 2022-09-24 09:11:55, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
z=a
a=b
b=z
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0507, 2022-09-24 09:12:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d+=-1
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0508, 2022-09-24 09:13:51, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d+=-1
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0509, 2022-09-24 09:17:05, TTTPPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while True :
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c % 2 == 0 :
d += a
print(a,b,c,d)
else :
if d > c :
c += d
a = b + c
print(a,b,c,d)
else :
b += a
a = b + c
print(a,b,c,d)
| # 0510, 2022-09-24 09:19:38, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while True :
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
break
else :
if c % 2 == 0 :
d += a
print(a,b,c,d)
else :
if d > c :
c += d
a = b + c
print(a,b,c,d)
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0511, 2022-09-24 09:14:46, PPPPPP (100%)
a,b,c,d = [int(x) for x in input().split()]
if a > b :
a,b = b,a
while True :
if d >= a:
if c > d :
a += 1
else :
d -= 1
else :
break
elif c % 2 == 0 :
d += a
elif d > c :
c += d
a = b + c
else :
b += a
a = b + c
print(a,b,c,d)
| # 0512, 2022-09-24 09:16:47, PPPPPP (100%)
a,b,c,d = [int(x) for x in input().split()]
if a > b :
a,b = b,a
while True :
if d >= a:
if c > d :
a += 1
else :
d -= 1
else :
break
elif c % 2 == 0 :
d += a
elif d > c :
c += d
a = b + c
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0513, 2022-09-24 09:17:58, compilation error (0%)
x = input().split()
a = x[0]
b = x[1]
c = x[2]
d = x[3]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d = d + a
else:
if d>c:
c = c+d
else :
b = b+a
a=b+c
print(a,b,c,d)
| # 0514, 2022-09-24 09:24:57, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c % 2 == 0:
d = d + a
else:
if d>c:
c = c+d
else :
b = b+a
a=b+c
print(a,b,c,d)
|
# 0515, 2022-09-24 09:18:28, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a = b
b = a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b + c
print(a,b,c,d)
| # 0516, 2022-09-24 09:20:25, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
x = a
y = b
if a > b :
a = y
b = x
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b + c
print(a,b,c,d)
|
# 0517, 2022-09-24 09:17:08, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0518, 2022-09-24 09:17:11, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0519, 2022-09-24 09:23:01, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
if a > b:
a,b = b,a
while d>=a :
if c>d:
a +=1
else :
d -= 1
else :
if c%2 == 0:
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
| # 0520, 2022-09-24 09:58:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
a,b = b,a
while d>=a :
if c>d:
a +=1
else :
d -= 1
else :
if c%2 == 0:
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0521, 2022-09-24 09:13:14, ---P-- (17%)
a,b,c,d = [int(e) for e in input().split()]
if a<b:
a,b = b,a
while d >= a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 ==0:
d+=a
else:
if d > c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 0522, 2022-09-24 09:16:50, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
current = a
a = b
b = current
while d >= a:
if c>d:
a+=1
else:
d-=1
if d < a:
print(a,b,c,d)
else:
if c%2 ==0:
d+=a
print(a,b,c,d)
else:
if d > c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
|
# 0523, 2022-09-24 09:13:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0524, 2022-09-24 09:14:53, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0525, 2022-09-24 09:21:29, ------ (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c>d :
a+= 1
else :
d-=1
else :
if c%2 == 0:
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
| # 0526, 2022-09-24 09:22:18, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c>d :
a+= 1
else :
d-=1
else :
if c%2 == 0:
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0527, 2022-09-24 09:12:17, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0528, 2022-09-24 10:13:35, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0529, 2022-09-24 09:17:37, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
if d>=a:
if c>d:
a+=1
else:
d-=1
else:
pass
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0530, 2022-09-24 09:21:19, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a=a+1
else:
d=d-1
else:
pass
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0531, 2022-09-24 09:14:33, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0532, 2022-09-24 10:24:46, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else:
d -= 1
else:
if c % 2 == 0 :
d = d + a
pass
else:
if d > c :
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0533, 2022-09-24 09:11:30, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d>=a :
if c > d :
a+=1
else :
d -=1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0534, 2022-09-24 09:36:42, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d>=a :
if c > d :
a+=1
else :
d -=1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
a = b+c
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0535, 2022-09-24 09:18:20, xxxxxx (0%)
x = input().split
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else :
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0536, 2022-09-24 09:19:22, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else :
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0537, 2022-09-24 09:12:28, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print (a,b,c,d)
else :
if c % 2 = 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0538, 2022-09-24 09:13:51, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print (a,b,c,d)
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0539, 2022-09-24 09:10:25, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d
a+=1
else :
d-=1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b= b+a
a=b+c
print(a,b,c,d)
| # 0540, 2022-09-24 09:10:47, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a+=1
else :
d-=1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b= b+a
a=b+c
print(a,b,c,d)
|
# 0541, 2022-09-24 09:13:15, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d :
a+=1
else:
d-=1
else :
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0542, 2022-09-24 09:14:05, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d :
a+=1
else:
d-=1
else :
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0543, 2022-09-24 09:11:22, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0544, 2022-09-24 09:49:20, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0545, 2022-09-24 09:12:25, xxxxxx (0%)
x = input().split()
for i in range(len(x)) :
a = int(x[i])
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0546, 2022-09-24 09:15:28, PPPPPP (100%)
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0547, 2022-09-24 09:24:39, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
k = 0
l = 0
k += a
l += b
def re(A,B,C,D) :
if D >= A :
if C > D :
A += 1
re(A,B,C,D)
else :
D -= 1
re(A,B,C,D)
else :
return(A,B,C,D)
if a > b :
a = l
b = k
re(a,b,c,d)
print(re(a,b,c,d))
else :
if c %2 == 0 :
d = d+a
print(a,b,c,d)
else :
if d > c :
c = c+d
a = b+c
print(a,b,c,d)
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0548, 2022-09-24 09:29:07, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
k = 0
l = 0
k += a
l += b
def re(A,B,C,D) :
if D >= A :
if C > D :
A += 1
re(A,B,C,D)
else :
D -= 1
re(A,B,C,D)
else :
print(A,B,C,D)
return(A,B,C,D)
if a > b :
a = l
b = k
re(a,b,c,d)
else :
if c %2 == 0 :
d = d+a
print(a,b,c,d)
else :
if d > c :
c = c+d
a = b+c
print(a,b,c,d)
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0549, 2022-09-24 09:12:08, xxxxxx (0%)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0550, 2022-09-24 09:13:37, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0551, 2022-09-24 09:12:34, xxxxxx (0%)
a,b,c,d=input().split()
if a>b:
i=b
b=a
a=i
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0552, 2022-09-24 09:21:21, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
i=b
b=a
a=i
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0553, 2022-09-24 09:11:27, compilation error (0%)
a,b,c,d = [for e in int(input())]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0554, 2022-09-24 09:12:47, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0555, 2022-09-24 09:13:15, P--PPP (67%) a,b,c,d = [int(e) for e in input().split()] if a > b: a,b = b,a if d>=a: if c>d: a +=1 else: d -=1 else: pass print(a,b,c,d) else: if c%2==0: d = d + a else: if d>c: c = c + d else: b = b+a a = b + c print(a,b,c,d) | # 0556, 2022-09-24 09:48:11, PPPPPP (100%) a,b,c,d = [int(e) for e in input().split()] if a > b: a,b = b,a while d>=a: if c>d: a +=1 else: d -=1 else: pass print(a,b,c,d) else: if c%2==0: d = d + a else: if d>c: c = c + d else: b = b+a a = b + c print(a,b,c,d) |
# 0557, 2022-09-24 09:12:53, PPP-PP (83%)
a, b, c, d = [int(e) for e in input().split()]
if a>b:
temp = a
a = b
b = temp
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
| # 0558, 2022-09-24 09:50:11, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
temp = a
a = b
b = temp
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0559, 2022-09-24 09:14:29, PPPPPP (100%)
def func1(a,b,c,d):
while d >= a:
if c > d: a += 1
else: d -= 1
return a,b,c,d
def func2(a,b,c,d):
if c%2 == 0: d += a
else:
if d > c: c += d
else: b += a
a = b + c
return a,b,c,d
def main():
a,b,c,d = [int(i) for i in input().split()]
if a > b:
a,b = b,a
a,b,c,d = func1(a,b,c,d)
text = str(a) + " " + str(b) + " " + str(c) + " " + str(d)
print(text)
else:
a,b,c,d = func2(a,b,c,d)
text = str(a) + " " + str(b) + " " + str(c) + " " + str(d)
print(text)
main()
| # 0560, 2022-09-24 09:54:29, PPPPPP (100%)
def func1(a,b,c,d):
while d >= a:
if c > d: a += 1
else: d -= 1
return a,b,c,d
def func2(a,b,c,d):
if c%2 == 0: d += a
else:
if d > c: c += d
else: b += a
a = b + c
return a,b,c,d
def main():
a,b,c,d = [int(i) for i in input().split()]
if a > b:
a,b = b,a
a,b,c,d = func1(a,b,c,d)
print (a,b,c,d)
else:
a,b,c,d = func2(a,b,c,d)
print (a,b,c,d)
main()
|
# 0561, 2022-09-24 09:23:12, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2==0 :
d=d+a
else :
if d>c :
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 0562, 2022-09-24 09:42:37, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2==0 :
d=d+a
else :
if d>c :
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
|
# 0563, 2022-09-24 09:17:05, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if (c-1)%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0564, 2022-09-24 09:37:43, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if not (c-1)%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0565, 2022-09-24 09:13:45, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>= a :
if c>d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
| # 0566, 2022-09-24 09:17:56, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>= a :
if c>d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0567, 2022-09-24 09:11:37, PPPP-- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
a=b+c
print(a,b,c,d)
| # 0568, 2022-09-24 09:13:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0569, 2022-09-24 09:11:30, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
pass
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0570, 2022-09-24 09:30:13, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0571, 2022-09-24 09:10:56, ------ (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c)
| # 0572, 2022-09-24 09:12:01, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0573, 2022-09-24 09:11:09, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 = 0 :
d = d + a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0574, 2022-09-24 09:13:02, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0575, 2022-09-24 09:11:30, P-TPPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0576, 2022-09-24 09:13:38, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0577, 2022-09-24 09:12:11, ---PPP (50%)
a,b,c,d = [ int(e) for e in input().split() ]
if a > b :
a,b = b,c
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > c :
c = c + d
a = b + c
print(a,b,c,d)
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0578, 2022-09-24 09:18:34, PPPPPP (100%)
a,b,c,d = [ int(e) for e in input().split() ]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c % 2 == 0 :
d = d + a
print(a,b,c,d)
else :
if d > c :
c = c + d
a = b + c
print(a,b,c,d)
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0579, 2022-09-24 09:10:43, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0:
d += a
else:
if d>c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0580, 2022-09-24 09:56:13, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0:
d += a
else:
if d>c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0581, 2022-09-24 09:11:02, compilation error (0%)
a,b,c,d = (int(e) for e in input().split())
if a > b :
a,b=b,a
while d >= a :
if c > d :
a += 1
else :
d-= 1
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b = b+a
a = b+c
print(str(a)+ " " +str(b) +
| # 0582, 2022-09-24 09:11:22, PPPPPP (100%)
a,b,c,d = (int(e) for e in input().split())
if a > b :
a,b=b,a
while d >= a :
if c > d :
a += 1
else :
d-= 1
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b = b+a
a = b+c
print(str(a)+ " " +str(b) +" " + str(c)+ " "+ str(d) )
|
# 0583, 2022-09-24 09:12:01, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a :
while d >= a :
if c > d :
a += 1
else :
d -= 1
else: print(a,b,c,d)
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
else:
if d > c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0584, 2022-09-24 09:15:06, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a :
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else:
if d > c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0585, 2022-09-24 09:19:18, PPP-PP (83%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a +=1
else:
d -=1
else:
if c%2==0:
d +=a
elif d>c:
c +=d
else:
b +=a
a=b+c
print(a,b,c,d)
| # 0586, 2022-09-24 09:22:12, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a +=1
else:
d -=1
else:
if c%2==0:
d +=a
else :
if d>c:
c +=d
else:
b +=a
a=b+c
print(a,b,c,d)
|
# 0587, 2022-09-24 09:10:22, PPPPPP (100%)
a,b,c,d = [int (x) for x in input().split()]
if a>b :
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -=1
else:
if c%2 == 0:
d = d+a
elif d>c :
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0588, 2022-09-24 10:07:26, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -=1
else:
if c%2 == 0:
d = d+a
elif d>c :
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0589, 2022-09-24 09:10:50, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
elif d > c:
c += d
else : b += a
a = b+ c
print(a,b,c,d)
| # 0590, 2022-09-24 09:14:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0591, 2022-09-24 09:10:49, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d-= 1
print(a,b,c,d)
else :
if c % 2 == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0592, 2022-09-24 10:21:12, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d-= 1
print(a,b,c,d)
else :
if c % 2 == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0593, 2022-09-24 09:20:59, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0594, 2022-09-24 09:22:30, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0595, 2022-09-24 09:13:05, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a+=1
else:
d -= 1
break
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0596, 2022-09-24 09:15:00, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a+=1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0597, 2022-09-24 09:11:29, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b)=(b,a)
while d>=a:
if c > d:
a+=1
else:
d -=1
else:
if c%2==0:
d =d+a
else:
if d>c:
c=c+d
else:
b=b+a
a = b+c
print(a,b,c,d)
| # 0598, 2022-09-24 09:12:49, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b)=(b,a)
while d>=a:
if c > d:
a+=1
else:
d -=1
else:
if c%2==0:
d =d+a
else:
if d>c:
c=c+d
else:
b=b+a
a = b+c
print(a,b,c,d)
|
# 0599, 2022-09-24 09:15:02, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
elif c%2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0600, 2022-09-24 09:20:22, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
elif c%2 == 0:
d = d + a
elif d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0601, 2022-09-24 09:12:33, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0602, 2022-09-24 09:19:40, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0603, 2022-09-24 09:11:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
elif c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b +=a
a = b + c
print(a,b,c,d)
| # 0604, 2022-09-24 09:32:41, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:a += 1
else:d -= 1
elif c%2 == 0:d += a
else:
if d > c:c += d
else:b += a
a = b + c
print(a,b,c,d)
|
# 0605, 2022-09-24 09:09:37, PPP-PP (83%)
# ฝันหวานอายจูบ โดย STAMP
# ฉันฝันถึงเธอคนที่อยู่ไกลแสนไกล
# ช่างหวานละมุนอบอุ่นข้างในหัวใจ
# แต่อายไม่กล้าแม้จะบอกกับใคร
# จึงจูบผ่านสายลมให้พัดพาไป
# เพราะฝันและจริง
# ยังไม่เคยพบกัน
# เพราะหวานเกินไป
# ไม่ว่าใครก็ต้องใจสั่น
# เพราะอายเหลือเกินกว่าที่จะพูดคำนั้น
# เพราะจูบของเธอยังไม่ใช่จูบของฉัน
# ความรักครั้งนี้จะเป็นอย่างไร
# ฉันควรจะต้องทำใจหรือเปล่า
# จะเป็นได้แค่เพียงฝัน
# ความรักครั้งนี้จะเป็นอย่างไร
# สุขสมได้ดั่งใจหรือเป็นฝันชั่วคราว
# อยู่ที่เธอรู้ไหม
# ชีวิตของฉันเมื่อพบกับเธอนั้น
# จะเปลี่ยนแปลงหรือเป็นเหมือนเก่า
# เป็นแค่ฝันไป
# คือคำถามฝากไว้
# ฉันวอนไห้สายลมพัดลอยผ่านไป
# ถึงเธอ
# ถ้าฝันและจริง
# จะบังเอิญเจอกันสักวัน
# ถ้าหวานข้างใน
# ใจทั้งสองได้พร้อมพร้อมกัน
# ถ้าอายจะหายไปจากประโยคเหล่านั้น
# และถ้าจูบของเธอจะกลายเป็นจูบของฉัน
# ความรักครั้งนี้จะเป็นอย่างไร
# ฉันควรจะต้องทำใจหรือเปล่า
# จะเป็นได้แค่เพียงฝัน
# ความรักครั้งนี้จะเป็นอย่างไร
# สุขสมได้ดั่งใจหรือเป็นฝันชั่วคราว
# อยู่ที่เธอรู้ไหม
# ชีวิตของฉันเมื่อพบกับเธอนั้น
# จะเปลี่ยนแปลงหรือเป็นเหมือนเก่า
# เป็นแค่ฝันไป
# คือคำถามฝากไว้
# ฉันวอนไห้สายลมพัดลอยผ่านไป
# ถึงเธอ
# ฝากทุกข้อความ
# ส่งไปถึงเธอ
# ที่ไม่อาจจะเอ่ย
# ในยามที่พบเจอ
# อาจมีสักวัน
# เธอจะได้รับมัน
# เธอจะได้รู้ว่าฉันนั้นคิดเช่นไร (ฮู้ว)
# ความรักครั้งนี้จะเป็นอย่างไร
# ฉันควรจะต้องทำใจหรือเปล่า
# จะเป็นได้แค่เพียงฝัน
# ความรักครั้งนี้จะเป็นอย่างไร
# สุขสมได้ดั่งใจหรือเป็นฝันชั่วคราว
# อยู่ที่เธอรู้ไหม
# ชีวิตของฉันเมื่อพบกับเธอนั้น
# จะเปลี่ยนแปลงหรือเป็นเหมือนเก่า
# เป็นแค่ฝันไป
# คือคำถามฝากไว้
# ฉันวอนไห้สายลมพัดลอยผ่านไป
# ถึงเธอ
# เราจะข้ามเวลามาพบกัน by ปอย Potrait & ก้อย รัชวิน
# ทุกครั้งที่ฉันร้องไห้จนจมทะเลน้ำตา
# เหว่ว้าและเคว้งคว้างกลางผู้คน
# เจ็บจนไม่อยากหายใจ
# ถูกรักทำร้ายจนเปราะบาง
# ขอบฟ้าความหวังซีดจางเหลือเกิน
# แต่บอกกับใจไม่หยุดฝัน
# อธิษฐานในกาลนิรันดร์
# อย่าหยุดศรัทธา
# สักวันคงได้พบเธอ
# อีกครึ่งหนึ่งของดวงวิญญาณ
# ฉันรออยู่ คนเคยรู้ใจคนเคยรู้จัก
# จำฉันได้ไหม
# เราเคยพลัดพรากกัน
# หากเธอกับฉันสวนทางกัน ในความฝัน
# อยากให้สายตาเราได้จ้องกัน
# และให้เธอบอกฉัน
# ว่าฉันข้ามเวลา เพื่อมาพบเธอ
# ฉันใช้ชีวิตมืดมนดั่งคนที่มีแผลใจ
# แผ่นดินและผืนฟ้ากว้างไกล
# มันกลับไม่เหลือทางให้เดิน
# ทอดทิ้งรักแท้ที่ข้างทาง
# ปล่อยทิ้งความหวังที่พังยับเยิน
# อยากบอกกับใจให้หยุดฝัน
# อธิษฐานในกาลนิรันดร์
# เจ็บกับศรัทธา
# กี่วันก็ไม่พบเจอ (เราจะได้พบกัน)
# อีกครึ่งหนึ่งของดวงวิญญาณ
# ฉันรออยู่ คนเคยรู้ใจคนเคยรู้จัก
# เธอไปอยู่ไหน
# เราคงพลัดพรากกัน
# หากเธอกับฉันสวนทางกัน ในความฝัน
# อยากให้สายตาเราได้จ้องกัน
# โปรดให้เธอบอกฉัน
# ว่าฉันข้ามเวลา เพื่อมาพบเธอ
# หากเธอกับฉันสวนทางกัน ในวันนั้น
# ยามที่สายตาเราได้จ้องกัน
# อยากให้เธอบอกฉัน
# ว่าเราข้ามเวลา เพื่อมาพบกัน
a, b, c, d = [int(x) for x in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
| # 0606, 2022-09-24 09:10:15, PPPPPP (100%)
# ฝันหวานอายจูบ โดย STAMP
# ฉันฝันถึงเธอคนที่อยู่ไกลแสนไกล
# ช่างหวานละมุนอบอุ่นข้างในหัวใจ
# แต่อายไม่กล้าแม้จะบอกกับใคร
# จึงจูบผ่านสายลมให้พัดพาไป
# เพราะฝันและจริง
# ยังไม่เคยพบกัน
# เพราะหวานเกินไป
# ไม่ว่าใครก็ต้องใจสั่น
# เพราะอายเหลือเกินกว่าที่จะพูดคำนั้น
# เพราะจูบของเธอยังไม่ใช่จูบของฉัน
# ความรักครั้งนี้จะเป็นอย่างไร
# ฉันควรจะต้องทำใจหรือเปล่า
# จะเป็นได้แค่เพียงฝัน
# ความรักครั้งนี้จะเป็นอย่างไร
# สุขสมได้ดั่งใจหรือเป็นฝันชั่วคราว
# อยู่ที่เธอรู้ไหม
# ชีวิตของฉันเมื่อพบกับเธอนั้น
# จะเปลี่ยนแปลงหรือเป็นเหมือนเก่า
# เป็นแค่ฝันไป
# คือคำถามฝากไว้
# ฉันวอนไห้สายลมพัดลอยผ่านไป
# ถึงเธอ
# ถ้าฝันและจริง
# จะบังเอิญเจอกันสักวัน
# ถ้าหวานข้างใน
# ใจทั้งสองได้พร้อมพร้อมกัน
# ถ้าอายจะหายไปจากประโยคเหล่านั้น
# และถ้าจูบของเธอจะกลายเป็นจูบของฉัน
# ความรักครั้งนี้จะเป็นอย่างไร
# ฉันควรจะต้องทำใจหรือเปล่า
# จะเป็นได้แค่เพียงฝัน
# ความรักครั้งนี้จะเป็นอย่างไร
# สุขสมได้ดั่งใจหรือเป็นฝันชั่วคราว
# อยู่ที่เธอรู้ไหม
# ชีวิตของฉันเมื่อพบกับเธอนั้น
# จะเปลี่ยนแปลงหรือเป็นเหมือนเก่า
# เป็นแค่ฝันไป
# คือคำถามฝากไว้
# ฉันวอนไห้สายลมพัดลอยผ่านไป
# ถึงเธอ
# ฝากทุกข้อความ
# ส่งไปถึงเธอ
# ที่ไม่อาจจะเอ่ย
# ในยามที่พบเจอ
# อาจมีสักวัน
# เธอจะได้รับมัน
# เธอจะได้รู้ว่าฉันนั้นคิดเช่นไร (ฮู้ว)
# ความรักครั้งนี้จะเป็นอย่างไร
# ฉันควรจะต้องทำใจหรือเปล่า
# จะเป็นได้แค่เพียงฝัน
# ความรักครั้งนี้จะเป็นอย่างไร
# สุขสมได้ดั่งใจหรือเป็นฝันชั่วคราว
# อยู่ที่เธอรู้ไหม
# ชีวิตของฉันเมื่อพบกับเธอนั้น
# จะเปลี่ยนแปลงหรือเป็นเหมือนเก่า
# เป็นแค่ฝันไป
# คือคำถามฝากไว้
# ฉันวอนไห้สายลมพัดลอยผ่านไป
# ถึงเธอ
# เราจะข้ามเวลามาพบกัน by ปอย Potrait & ก้อย รัชวิน
# ทุกครั้งที่ฉันร้องไห้จนจมทะเลน้ำตา
# เหว่ว้าและเคว้งคว้างกลางผู้คน
# เจ็บจนไม่อยากหายใจ
# ถูกรักทำร้ายจนเปราะบาง
# ขอบฟ้าความหวังซีดจางเหลือเกิน
# แต่บอกกับใจไม่หยุดฝัน
# อธิษฐานในกาลนิรันดร์
# อย่าหยุดศรัทธา
# สักวันคงได้พบเธอ
# อีกครึ่งหนึ่งของดวงวิญญาณ
# ฉันรออยู่ คนเคยรู้ใจคนเคยรู้จัก
# จำฉันได้ไหม
# เราเคยพลัดพรากกัน
# หากเธอกับฉันสวนทางกัน ในความฝัน
# อยากให้สายตาเราได้จ้องกัน
# และให้เธอบอกฉัน
# ว่าฉันข้ามเวลา เพื่อมาพบเธอ
# ฉันใช้ชีวิตมืดมนดั่งคนที่มีแผลใจ
# แผ่นดินและผืนฟ้ากว้างไกล
# มันกลับไม่เหลือทางให้เดิน
# ทอดทิ้งรักแท้ที่ข้างทาง
# ปล่อยทิ้งความหวังที่พังยับเยิน
# อยากบอกกับใจให้หยุดฝัน
# อธิษฐานในกาลนิรันดร์
# เจ็บกับศรัทธา
# กี่วันก็ไม่พบเจอ (เราจะได้พบกัน)
# อีกครึ่งหนึ่งของดวงวิญญาณ
# ฉันรออยู่ คนเคยรู้ใจคนเคยรู้จัก
# เธอไปอยู่ไหน
# เราคงพลัดพรากกัน
# หากเธอกับฉันสวนทางกัน ในความฝัน
# อยากให้สายตาเราได้จ้องกัน
# โปรดให้เธอบอกฉัน
# ว่าฉันข้ามเวลา เพื่อมาพบเธอ
# หากเธอกับฉันสวนทางกัน ในวันนั้น
# ยามที่สายตาเราได้จ้องกัน
# อยากให้เธอบอกฉัน
# ว่าเราข้ามเวลา เพื่อมาพบกัน
a, b, c, d = [int(x) for x in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0607, 2022-09-24 09:09:52, PPP-PP (83%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a, b, c, d)
else:
if c % 2 == 0:
d += a
print(a, b, c, d)
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
| # 0608, 2022-09-24 10:34:52, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a, b, c, d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0609, 2022-09-24 09:09:56, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0610, 2022-09-24 09:10:29, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0611, 2022-09-24 09:11:19, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if(a > b):
a, b = b, a
while(d >= a):
if(c > d):
a += 1
else:
d -= 1
else:
if(c % 2 == 0):
d = d+a
else:
if(d > c):
c = c+d
else:
b = b+a
a = b+c
print(a, b, c, d)
| # 0612, 2022-09-24 10:15:19, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if(a > b):
a, b = b, a
while(d >= a):
if(c > d):
a += 1
else:
d -= 1
else:
if(c % 2 == 0):
d = d + a
else:
if(d > c):
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0613, 2022-09-24 09:12:18, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0614, 2022-09-24 10:15:51, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0615, 2022-09-24 09:11:28, ---PPP (50%)
from re import A
a,b,c,d = [int(e) for e in input().split()]
if a > b :
t= a
a = b
t = b
while d >= a :
if c >d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d> c :
c = c+d
else :
b= b+a
a = b +c
print(a,b,c,d)
| # 0616, 2022-09-24 09:13:50, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
t= a
a = b
b = t
while d >= a :
if c >d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d> c :
c = c+d
else :
b= b+a
a = b +c
print(a,b,c,d)
|
# 0617, 2022-09-24 09:11:43, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b: #Y1
a,b=b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else: #N1
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b + a
a = b+c
print(a,b,c,d)
| # 0618, 2022-09-24 09:49:07, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b: #Y1
a,b=b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else: #N1
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b + a
a = b+c
print(a,b,c,d)
|
# 0619, 2022-09-24 09:19:52, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if(a > b):
t = a
a = b
b = t
while(d >= a):
if(c > d):
a += 1
else: d -= 1
else:
if(c % 2 == 0):
d = d + a
elif(d > c): c = c + d
else: b = b + a
a = b + c
print(a, b, c, d)
| # 0620, 2022-09-24 09:21:42, PPPPPP (100%)
#AUTHOR : CHANATIP PATTANAPEN 6532040021
a,b,c,d = [int(e) for e in input().split()]
if(a > b):
t = a
a = b
b = t
while(d >= a):
if(c > d):
a += 1
else: d -= 1
else:
if(c % 2 == 0):
d = d + a
elif(d > c):
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0621, 2022-09-24 09:11:42, PPPPPP (100%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if(a>b):
a,b=b,a
while(d>=a):
if(c>d):
a+=1
else:
d-=1
else:
if(c%2==0):
d=d+a
else:
if(d>c):
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0622, 2022-09-24 09:41:38, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if(a>b):
a,b=b,a
while(d>=a):
if(c>d):
a+=1
else:
d-=1
else:
if(c%2==0):
d=d+a
else:
if(d>c):
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0623, 2022-09-24 09:11:24, PPP-PP (83%)
a,b,c,d=[int(e) for e in input().split()]
if(a>b):
temp=a
a=b; b=temp
while(d>=a):
if(c>d):
a+=1
else:
d-=1
else:
if(c%2==0):
d=d+a
elif(d>c):
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0624, 2022-09-24 09:13:28, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if(a>b):
temp=a
a=b; b=temp
while(d>=a):
if(c>d):
a+=1
else:
d-=1
else:
if(c%2==0):
d=d+a
else:
if(d>c):
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0625, 2022-09-24 09:12:03, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c < d :
a = a+1
else :
d = d-1
print(a,b,c,d)
exit()
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
exit()
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
exit()
| # 0626, 2022-09-24 09:14:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a = a+1
else :
d = d-1
print(a,b,c,d)
exit()
else :
if c%2 == 0 :
d = d+a
print(a,b,c,d)
exit()
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0627, 2022-09-24 09:11:23, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0628, 2022-09-24 09:14:37, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0629, 2022-09-24 09:09:45, PPP-PP (83%)
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += 1
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0630, 2022-09-24 09:10:19, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0631, 2022-09-24 09:10:38, PPP-PP (83%)
a, b, c, d= [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
| # 0632, 2022-09-24 09:23:08, PPPPPP (100%)
a, b, c, d= [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0633, 2022-09-24 09:18:38, ------ (0%)
x = input()
now = ""
neg = False
ans = 0
for i in range(len(x)):
if x[i]=='-' and i==0:
neg = True
continue
if x[i].isnumeric():
now+=x[i]
else:
if neg: ans+=(-1)*int(now)
else: ans+=int(now)
now = ""
if x[i]=='-': neg = True
else: neg = False
if neg: ans+=(-1)*int(now)
else: ans+=int(now)
print(ans)
| # 0634, 2022-09-24 09:24:21, PPPPPP (100%)
#Quiz 1
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a, b = b, a
while d>=a:
if c>d:
a+=1
else: d-=1
else:
if c%2==0: d = d+a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
#Quiz 3
# x = input()
# now = ""
# neg = False
# ans = 0
# for i in range(len(x)):
# if x[i]=='-' and i==0:
# neg = True
# continue
# if x[i].isnumeric():
# now+=x[i]
# else:
# if neg: ans+=(-1)*int(now)
# else: ans+=int(now)
# now = ""
# if x[i]=='-': neg = True
# else: neg = False
# if neg: ans+=(-1)*int(now)
# else: ans+=int(now)
# print(ans)
|
# 0635, 2022-09-24 09:10:53, PPP-PP (83%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d+1
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a, b, c, d)
| # 0636, 2022-09-24 09:12:57, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a, b, c, d)
|
# 0637, 2022-09-24 09:13:29, xxxxxx (0%)
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a > b:
(a,b) = (b,a)
while d >= a:
if c >a:
a += 1
else:
d -= 1
if d < a:
break
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0638, 2022-09-24 09:19:40, PPPPPP (100%)
list = input().split()
a = int(list[0])
b = int(list[1])
c = int(list[2])
d = int(list[3])
if a > b:
(a,b) = (b,a)
while d >= a:
if c >a:
a += 1
else:
d -= 1
if d < a:
break
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0639, 2022-09-24 09:11:47, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >=a:
if c > d:
a += 1
else:
d -= 1
else:
if c %2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0640, 2022-09-24 09:13:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >=a:
if c > d:
a += 1
else:
d -= 1
else:
if c %2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0641, 2022-09-24 09:19:38, ------ (0%)
a,b,c,d =[int(x)for x in input().split()]
#print(a,b,c,d)
x=0
def loop(a,b,c,d):
if d>= a:
if c>d :
a+=1
loop(a,b,c,d)
else:
d-=1
loop(a,b,c,d)
else:
print(a,b,c,d)
if a > b :
if c%2==0 :
d=d+a
print(a,b,c,d)
elif d>c :
c = c+d
a = b+c
print(a,b,c,d)
else:
b = b+a
a = b+c
print(a,b,c)
else:
x=a
a=b
b=x
if d>= a:
if c>d :
a+=1
loop(a,b,c,d)
else:
d-=1
loop(a,b,c,d)
else:
print(a,b,c,d)
| # 0642, 2022-09-24 09:31:27, PPPPPP (100%)
a,b,c,d =[int(x)for x in input().split()]
#print(a,b,c,d)
x=0
def loop(a,b,c,d):
if d>= a:
if c>d :
a+=1
loop(a,b,c,d)
else:
d-=1
loop(a,b,c,d)
else:
print(a,b,c,d)
if a > b :
x=a
a=b
b=x
loop(a,b,c,d)
# if d>= a:
# if c>d :
# a+=1
# loop(a,b,c,d)
# else:
# d-=1
# loop(a,b,c,d)
#else:
# print(a,b,c,d)
else:
if c%2==0 :
d=d+a
print(a,b,c,d)
elif d>c :
c = c+d
a = b+c
print(a,b,c,d)
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0643, 2022-09-24 09:16:10, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
(a,b)=(b,a)
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 == 0 :
d =d +a
else:
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0644, 2022-09-24 10:04:14, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
(a,b) =(b,a)
while d >= a :
if c > d :
a += 1
else:
d -= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b +c
print(a,b,c,d)
|
# 0645, 2022-09-24 09:11:59, PPPPPP (100%)
a,b,c,d= [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d >c :
c += d
else:
b +=a
a = b+c
print(a,b,c,d)
| # 0646, 2022-09-24 09:12:31, PPPPPP (100%)
a,b,c,d= [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d >c :
c += d
else:
b +=a
a = b+c
print(a,b,c,d)
|
# 0647, 2022-09-24 09:20:10, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
x = a ; y = b
x = b ; y = a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d ; a = b + c
else:
b += a ; a = b + c
print(a,b,c,d)
| # 0648, 2022-09-24 09:47:31, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
x = [a,b]
a = x[1] ; b = x[0]
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d ; a = b + c
else:
b += a ; a = b + c
print(a,b,c,d)
|
# 0649, 2022-09-24 09:10:30, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0650, 2022-09-24 09:12:00, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0651, 2022-09-24 09:15:26, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
elif c%2 == 0 :
d = d+a
elif d>c :
c = c+d
a = b+c
else :
b = b+a
a = b+c
print (a,b,c,d)
|
# 0652, 2022-09-24 09:10:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c >d:
a += 1
else:
d -= 1
else:
if c%2 ==0:
d += a
else:
if d>c:
c += d
else:
b+= a
a = b+c
print(a,b,c,d)
|
# 0653, 2022-09-24 09:18:20, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while True:
if d>=a:
if c>d:
a+=1
else:
d-=1
else:
break
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
a=b+c
else:
b=b+a
a=b+c
print(str(a)+" "+str(b)+" "+str(c)+" "+str(d))
|
# 0654, 2022-09-24 09:10:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c>d:
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else:
if d>c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0655, 2022-09-24 09:09:47, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 == 0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0656, 2022-09-24 09:26:36, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
pass
if c > d:
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0657, 2022-09-24 09:15:23, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0658, 2022-09-24 09:11:57, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -=1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0659, 2022-09-24 09:19:03, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a +=1
else:
d -=1
else:
print(a,b,c,d)
else :
if c%2 == 0 :
d=d+a
print(a,b,c,d)
else:
if d>c :
c=c+d
a=b+c
print(a,b,c,d)
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0660, 2022-09-24 09:13:29, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0661, 2022-09-24 09:10:55, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0662, 2022-09-24 09:15:02, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a +=1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c + d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0663, 2022-09-24 09:11:36, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b +c
print(a,b,c,d)
|
# 0664, 2022-09-24 09:13:51, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0665, 2022-09-24 09:10:50, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0666, 2022-09-24 09:12:10, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a=a+1
else:
d=d-1
else:
print(a,b,c,d)
else:
if c%2==0:
d=d+a
print(a,b,c,d)
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0667, 2022-09-24 09:16:54, PPPPPP (100%)
x = input().split(" ")
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a > b:
b = int(x[0])
a = int(x[1])
while d >= a:
if c > d:
a += 1
else:
d -= 1
print (a, b, c, d)
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print (a, b, c, d)
|
# 0668, 2022-09-24 09:11:56, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
(a,b) = (b,a)
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0669, 2022-09-24 09:11:52, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c ,d)
|
# 0670, 2022-09-24 09:12:36, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
(a,b) = (b,a)
while d>= a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d>c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0671, 2022-09-24 09:09:29, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a+=1
else :
d-=1
else :
if c%2==0 :
d+=a
else :
if d>c :
c+=d
else :
b+=a
a = b+c
print(a,b,c,d)
|
# 0672, 2022-09-24 09:23:55, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
b2=b
b=a
a=b2
while d>=a:
if c>d:
a+=1
else:
d -=1
elif c%2== 0:
d= d+a
elif d>c:
c=c+d
a=b+c
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0673, 2022-09-24 09:11:14, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a +=1
else:
d = d-1
else:
if c%2 ==0:
d = d+a
elif d>c:
c = c+d
a= b+c
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0674, 2022-09-24 09:14:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0675, 2022-09-24 09:10:21, PPPPPP (100%)
a, b, c, d = [int(i) for i in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
print(a, b, c, d)
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0676, 2022-09-24 09:13:56, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d:
a += 1
else:
d -= 1
else:
if c %2 == 0 :
d = d +a
else:
if d > c:
c = c+d
else:
b = b + a
a = b+c
print(a,b,c,d)
|
# 0677, 2022-09-24 09:13:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a +=1
else:
d -=1
else:
if c%2 ==0:
d = d+a
elif d>c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0678, 2022-09-24 09:17:05, PPPPPP (100%)
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d = d-1
else :
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
a = b+c
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0679, 2022-09-24 09:18:25, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a<=b:
if c%2 == 0:
d += a
else:
if d>c:
c += d
a = b+c
else:
b += a
a = b+c
else:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
|
# 0680, 2022-09-24 09:14:49, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0681, 2022-09-24 09:16:14, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else :
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0682, 2022-09-24 09:10:38, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
elif c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a, b, c, d)
|
# 0683, 2022-09-24 09:15:57, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a :
if c>d:
a=a+1
else :
d=d-1
else :
if c%2==0 :
d=d+a
else :
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0684, 2022-09-24 09:11:40, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0685, 2022-09-24 09:47:28, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a +=1
else:
d -=1
else:
if c %2 ==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0686, 2022-09-24 09:12:30, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0687, 2022-09-24 09:11:52, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a >b :
a,b = b,a
while d >= a:
if c > d:
a+= 1
else:
d -= 1
else:
if c %2 == 0:
d =d +a
else:
if d > c:
c = c+d
else:
b =b + a
a = b+c
print(a,b,c,d)
|
# 0688, 2022-09-24 09:14:37, PPPPPP (100%)
a ,b ,c ,d = [int(i) for i in input().split()]
if a>b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+ a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0689, 2022-09-24 09:14:42, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0690, 2022-09-24 09:13:35, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b,=b,a
while d>=a :
if c>d:
a+=1
else :
d-=1
else :
if c%2==0 :
d+=a
else :
if d>c :
c+=d
else :
b+=a
a = b+c
print(a,b,c,d)
|
# 0691, 2022-09-24 09:24:19, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0692, 2022-09-24 09:12:34, PPPPPP (100%)
# Test_1_1
# This Code was written by Korraphat Pangvutthivanich 6530006421
a, b, c , d = [int(x) for x in input().split()]
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if not(c % 2) :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a, b, c, d)
|
# 0693, 2022-09-24 09:15:34, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0694, 2022-09-24 09:14:21, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
else:
if d>c :
c= c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0695, 2022-09-24 09:16:52, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0696, 2022-09-24 09:11:41, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0697, 2022-09-24 09:13:11, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0 or c % 2 == 2:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0698, 2022-09-24 09:11:07, PPPPPP (100%)
a,b,c,d =(int(e) for e in input().split())
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
print(a,b,c,d)
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0699, 2022-09-24 09:13:54, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0700, 2022-09-24 09:13:57, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a >b:
a,b =b,a
while d >=a:
if c >d :
a +=1
else :
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b =b +a
a = b +c
print(a,b,c,d)
|
# 0701, 2022-09-24 09:15:38, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b :
a,b=b,a
if d>=a :
if c>d :
a+=1
else :
d+=-1
while d>=a :
if d>=a :
if c>d :
a+=1
else :
d+=-1
print(a,b,c,d)
else :
print(a,b,c,d)
else :
if c%2 ==0 :
d=d+a
else :
if d>c :
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
|
# 0702, 2022-09-24 09:15:05, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0703, 2022-09-24 09:14:37, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0704, 2022-09-24 09:12:46, PPPPPP (100%)
a,b,c,d = [int (e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a+=1
else :
d-=1
else :
if c%2==0 :
d+=a
else :
if d>c :
c+=d
else :
b+=a
a=b+c
print(a,b,c,d)
|
# 0705, 2022-09-24 09:17:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0706, 2022-09-24 09:15:00, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a+=1
else:
d -= 1
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0707, 2022-09-24 09:13:34, PPPPPP (100%)
a,b,c,d = [int(z) for z in input().split()]
if a>b :
a,b=b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0708, 2022-09-24 09:12:33, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
(a,b) = (b,a)
while d >= a :
if c> d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
else :
if d > c:
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0709, 2022-09-24 09:14:32, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a , b = b , a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0710, 2022-09-24 09:15:44, PPPPPP (100%)
n = input().split()
n = [int(e) for e in n]
a = int(n[0])
b = int(n[1])
c = int(n[2])
d = int(n[3])
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0711, 2022-09-24 09:16:31, PPPPPP (100%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0712, 2022-09-24 09:18:19, PPPPPP (100%)
z = [int(e) for e in input().split()]
a=z[0]
b=z[1]
c=z[2]
d=z[3]
if a > b:
a,b = b,a
while d>=a :
if c> d:
a+=1
elif c<= d:
d-=1
elif a<= b:
if c%2 == 0:
d = d+a
elif c%2 != 0:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0713, 2022-09-24 09:15:46, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d=d+a
else:
if d>c:
c=c+d
a=b+c
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0714, 2022-09-24 09:09:41, PPPPPP (100%)
a,b,c,d = [int(i) for i in input().split()]
if a > b :
a,b= b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d >c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0715, 2022-09-24 09:12:39, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0716, 2022-09-24 09:17:14, PPPPPP (100%)
x=input().split()
a=int(x[0])
b=int(x[1])
c=int(x[2])
d=int(x[3])
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
print(a,b,c,d)
else:
if d>c :
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0717, 2022-09-24 09:14:14, PPPPPP (100%)
#Quiz 1
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0718, 2022-09-24 09:17:45, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0719, 2022-09-24 09:12:44, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
##########
else:
print(a,b,c,d)
else:
while c%2!=0:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
break
else:
d+=a
print(a,b,c,d)
|
# 0720, 2022-09-24 09:11:21, PPPPPP (100%)
a,b,c,d = [int(i) for i in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d += a
else:
if d>c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0721, 2022-09-24 09:24:47, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a :
if c>d :
a += 1
else:
d -= 1
else :
if c%2==0 :
d=d+a
else:
if d>c :
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0722, 2022-09-24 09:14:14, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0723, 2022-09-24 09:14:50, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d> c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0724, 2022-09-24 09:14:23, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d>c :
c +=d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0725, 2022-09-24 09:11:33, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > a:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0726, 2022-09-24 09:13:52, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a :
if c>d :
a += 1
else:
d -= 1
else:
if c%2 == 0 :
d = d+a
else:
if d>c:
c=c+d
else:
b = b+a
a =b+c
print(a,b,c,d)
|
# 0727, 2022-09-24 09:10:13, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d:
a += 1
else :
d -= 1
else :
if c % 2 == 0:
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0728, 2022-09-24 09:10:56, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a> b :
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
a=b+c
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0729, 2022-09-24 09:12:41, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0730, 2022-09-24 09:35:53, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else:
if c % 2 == 0:
d += a
else :
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0731, 2022-09-24 09:14:03, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print (a,b,c,d)
|
# 0732, 2022-09-24 09:13:03, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a :
if c >d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0733, 2022-09-24 09:10:07, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0734, 2022-09-24 09:13:40, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else: d-=1
else:
if c%2==0:
d += a
else:
if d>c:
c += d
else: b +=a
a = b+c
print(a,b,c,d)
|
# 0735, 2022-09-24 09:19:47, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if not a>b:
if (c%2)==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
else:
a,b = b,a
while d>=a:
if c > d:
a+=1
else:
d-=1
print(a,b,c,d)
|
# 0736, 2022-09-24 09:13:12, PPPPPP (100%)
Q = input().split()
a,b,c,d = [int(i) for i in Q]
if a> b:
a,b=b,a
while d>= a:
if c > d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
else:
if d > c:
c=c+d
else:
b =b+a
a = b+c
print(a,b,c,d)
|
# 0737, 2022-09-24 09:14:56, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else :
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0738, 2022-09-24 09:14:32, PPPPPP (100%)
n=input().split()
a=int(n[0])
b=int(n[1])
c=int(n[2])
d=int(n[3])
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0739, 2022-09-24 09:17:13, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
x = a
a = b
b = x
while d >= a:
if c > d:
a += 1
elif c <= d:
d -= 1
elif a <= b:
if c%2 == 0:
d = d + a
elif c%2 == 1:
if d > c:
c = c + d
elif d <= c:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0740, 2022-09-24 09:14:06, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>= a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0741, 2022-09-24 09:11:02, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b,=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0742, 2022-09-24 09:13:27, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
k = a
a = b
b = k
while d >= a:
if c >d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0743, 2022-09-24 09:11:52, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0744, 2022-09-24 09:12:17, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if not(c%2==0):
if d>c:
c+=d
else:
b+=a
a=b+c
else:
d+=a
print(a,b,c,d)
|
# 0745, 2022-09-24 09:14:12, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
n = b
if a > b:
b = a
a = n
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
elif d > c:
c += d
a = b+c
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0746, 2022-09-24 09:14:01, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0747, 2022-09-24 09:12:38, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0748, 2022-09-24 09:17:28, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0749, 2022-09-24 09:17:28, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d>= a:
if c > d:
a+= 1
else:
d-= 1
else:
if c%2 == 0:
d+= a
else:
if d > c:
c+= d
else:
b+= a
a = b+c
print(a, b, c, d)
|
# 0750, 2022-09-24 09:13:54, PPPPPP (100%)
a , b , c , d = [int(i) for i in input().split()]
if a>b :
a , b = b , a
while d >= a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b+c
print (a,b,c,d)
|
# 0751, 2022-09-24 09:17:54, PPPPPP (100%)
a,b,c,d = [ int(e) for e in input().split() ]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a +=1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c += d
else:
b +=a
a = b+c
print(a,b,c,d)
|
# 0752, 2022-09-24 09:22:28, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0753, 2022-09-24 09:11:29, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if (a>b):
a,b = b,a
while(d>=a):
if (c>d):
a += 1
else:
d-= 1
else:
if(c%2==0):
d = d+a
else:
if (d>c):
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0754, 2022-09-24 09:25:34, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0755, 2022-09-24 09:22:06, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d=d+a
else :
if d>c :
c=c+d
else :
b=b+a
a=b+c
print(a,b,c,d)
|
# 0756, 2022-09-24 09:17:24, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0757, 2022-09-24 09:17:46, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else: d-=1
else:
if c%2 ==0:
d = d+a
else:
if d>c:
c = c+d
else: b = b+a
a = b+c
print(a,b,c,d)
|
# 0758, 2022-09-24 09:13:02, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 ==0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
|
# 0759, 2022-09-24 09:14:55, PPPPPP (100%)
x = [int(e) for e in input().split()]
a,b,c,d = x[0],x[1],x[2],x[3]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
elif c%2 != 0:
if d>c:
c +=d
else:
b += a
a =b+c
else:
d += a
print(a,b,c,d)
|
# 0760, 2022-09-24 09:14:35, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0761, 2022-09-24 09:30:57, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d-= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c +d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0762, 2022-09-24 09:11:51, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
pass
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0763, 2022-09-24 09:18:23, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
if a>d :break
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0764, 2022-09-24 09:13:23, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d>= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0765, 2022-09-24 09:14:36, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>= a:
if c>d:
a = a+1
else:
d = d-1
else:
if c%2 ==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0766, 2022-09-24 09:10:41, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0767, 2022-09-24 09:12:53, PPPPPP (100%)
n = input().split()
a = int(n[0])
b = int(n[1])
c = int(n[2])
d = int(n[3])
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0768, 2022-09-24 09:14:44, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0769, 2022-09-24 09:12:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b= b+a
a = b+c
print(a,b,c,d)
|
# 0770, 2022-09-24 10:04:32, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split(" ")]
br = 0
if a>b :
a,b = b,a
while br != 1 :
if d>=a :
if c>d :
a += 1
else :
d -= 1
else :
br = 1
else :
if c%2==0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0771, 2022-09-24 09:17:22, PPPPPP (100%)
# x = input().split()
# a = int(x[0]);b = int(x[1]);c = int(x[2]);d = int(x[3])
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>= a :
if c>d :
a+=1
else :
d-=1
elif c%2 == 0:
d += a
elif d>c:
c += d
a = b+c
else:
b += a
a = b+c
#print(a,b,c,d)
print(a,b,c,d)
|
# 0772, 2022-09-24 09:11:28, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
elif c%2 == 0:
d = d+a
elif d>c:
c = c+d
a = b+c
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0773, 2022-09-24 09:15:05, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0774, 2022-09-24 09:12:03, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
elif d>c:
c+=d
a=b+c
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0775, 2022-09-24 09:13:10, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2==0:
d += a
else:
if d>c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0776, 2022-09-24 10:12:30, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0777, 2022-09-24 09:10:37, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0778, 2022-09-24 09:14:42, PPPPPP (100%)
x = input().split()
x = [int(e) for e in x]
a = x[0]
b = x[1]
c = x[2]
d = x[3]
if a > b :
a,b = b,a
while d >= a:
if c > d :
a +=1
else:
d = d-1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0779, 2022-09-24 09:11:42, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a >b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0780, 2022-09-24 09:13:46, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a, b = b, a
while d>= a:
if c>d:
a+=1
else:
d-=1
else:
if c % 2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b= b+a
a = b+c
print(a,b,c,d)
|
# 0781, 2022-09-24 09:11:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0782, 2022-09-24 09:09:33, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0783, 2022-09-24 09:52:16, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0784, 2022-09-24 09:10:24, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0785, 2022-09-24 09:11:09, PPPPPP (100%)
a,b,c,d = [int(i) for i in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0786, 2022-09-24 09:10:11, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a , b = b , a
while d >= a :
if c > d:
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0787, 2022-09-24 09:12:43, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a+=1
else :
d -= 1
else :
if c%2 == 0 :
d+=a
else :
if d>c :
c+=d
else :
b+=a
a = b + c
print(a,b,c,d)
|
# 0788, 2022-09-24 09:13:14, PPPPPP (100%)
a,b,c,d = [int(x) for x in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0789, 2022-09-24 09:13:07, PPPPPP (100%)
x = input().split()
a = int(x[0]) ; b = int(x[1]) ; c = int(x[2]) ; d = int(x[3])
if a > b :
a = int(x[1]) ; b = int(x[0])
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0790, 2022-09-24 09:13:06, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split(' ')]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0791, 2022-09-24 09:22:00, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while True:
if d>=a:
if c>d:
a = a+1
else:
d = d-1
else:
print(a,b,c,d)
break
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
else:
if d>c:
c =c+d
a=b+c
print(a,b,c,d)
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0792, 2022-09-24 09:13:56, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
elif d > c:
c += d
a = b + c
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0793, 2022-09-24 09:10:23, PPPPPP (100%)
a, b, c, d = [int(i) for i in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
elif c % 2 == 0:
d += a
elif d > c:
c += d
a = b+c
else:
b += a
a = b+c
print(a, b, c, d)
|
# 0794, 2022-09-24 09:12:49, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b=b,a
while d>=a :
if c>d:
a += 1
else:
d += -1
else:
if c%2==0:
d=d+a
elif d>c:
c=c+d
a=b+c
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0795, 2022-09-24 09:14:07, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0796, 2022-09-24 09:09:34, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d >= a :
if c > d :
a+=1
else :
d-=1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0797, 2022-09-24 09:10:23, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0798, 2022-09-24 09:16:13, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b :
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0799, 2022-09-24 09:10:12, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0800, 2022-09-24 09:13:58, PPPPPP (100%)
a, b, c, d = [int(i) for i in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a = a+1
else:
d = d-1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c + d
else:
b = b+a
a = b+c
print(a, b, c, d)
|
# 0801, 2022-09-24 09:11:39, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0802, 2022-09-24 09:11:40, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
elif d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0803, 2022-09-24 09:10:26, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0804, 2022-09-24 09:09:40, PPPPPP (100%)
a, b, c, d = [int(x) for x in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a, b, c, d)
|
# 0805, 2022-09-24 09:13:19, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0806, 2022-09-24 09:15:05, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
e = a
a = b
b = e
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0807, 2022-09-24 09:11:17, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>= a :
if c>d :
a+=1
else :
d-= 1
else :
if c %2 == 0:
d +=a
else :
if d>c :
c+=d
else :
b+=a
a = b+c
print(a,b,c,d)
|
# 0808, 2022-09-24 09:11:16, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0809, 2022-09-24 09:12:51, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0810, 2022-09-24 09:10:37, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a:
if not c>d :
d -= 1
else :
a += 1
else :
if c%2 ==0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0811, 2022-09-24 09:10:33, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 ==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0812, 2022-09-24 09:11:29, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0813, 2022-09-24 09:12:55, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while 1:
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
break
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0814, 2022-09-24 09:16:12, PPPPPP (100%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
while True:
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d-=1
break
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
break
print(a,b,c,d)
|
# 0815, 2022-09-24 09:09:47, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c+d
else :
b = b+a
a = b + c
print(a,b,c,d)
|
# 0816, 2022-09-24 09:12:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>=a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0817, 2022-09-24 09:13:52, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0818, 2022-09-24 09:10:09, PPPPPP (100%)
a, b, c, d, = [int(e) for e in input().split()]
if(a > b):
# left
a, b = b, a
while(d >= a):
if(c > d):
a += 1
else:
d -= 1
# merge
# return to 5
# merge
else:
# right
if(c % 2 == 0):
d = d + a
# merge
else:
if(d > c):
c = c+d
else:
b = b+a
a = b+c
# merge
print(a, b, c, d)
|
# 0819, 2022-09-24 09:11:16, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a += 1
else:
d -= 1
print(a,b,c,d)
elif c%2 == 0:
d += a
print(a,b,c,d)
elif d>c:
c += d
a = b+c
print(a,b,c,d)
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0820, 2022-09-24 10:26:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
b,a=a,b
while d>=a:
if c>d:
a=a+1
else:
d=d-1
else:
if c%2==0:
d=d+a
elif d>c:
c=c+d
a=b+c
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0821, 2022-09-24 09:11:29, PPPPPP (100%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
|
# 0822, 2022-09-24 09:10:24, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0823, 2022-09-24 09:14:52, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a, b, c, d)
|
# 0824, 2022-09-24 09:13:45, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a1=a
a=b
b=a1
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0825, 2022-09-24 09:11:43, PPPPPP (100%)
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a>b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a, b, c, d)
|
# 0826, 2022-09-24 09:10:40, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0827, 2022-09-24 09:10:03, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a, b, c, d)
|
# 0828, 2022-09-24 09:09:07, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a, b, c, d)
|
# 0829, 2022-09-24 09:11:38, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0830, 2022-09-24 09:10:09, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while(d >= a) :
if(c > d) :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0831, 2022-09-24 09:11:19, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if (a > b):
a, b = b, a
while (d >= a):
if (c > d):
a += 1
else:
d -= 1
print(a, b, c, d)
exit(0)
if (c % 2 == 0):
d += a
print(a, b, c, d)
exit(0)
if (d > c):
c += d
else:
b += a
a = b+c
print(a, b, c, d)
|
# 0832, 2022-09-24 09:11:04, PPPPPP (100%)
a,b,c,d = input().split()
a = int(a); b=int(b); c = int(c); d= int(d)
if a>b:
a,b = b,a
while d>=a:
if c>d: a+=1
else: d-=1
else:
if c%2==0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0833, 2022-09-24 09:09:50, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0834, 2022-09-24 09:13:39, PPPPPP (100%)
a ,b ,c ,d = [int(e) for e in input().split()]
if a > b:
a ,b = b ,a
while d >= a:
if c > d: a += 1
else: d -= 1
else:
if not (c % 2): d += a
else:
if d > c: c += d
else: b += a
a = b + c
print(a ,b ,c ,d)
|
# 0835, 2022-09-24 09:14:16, PPPPPP (100%)
n = list(map(int,input().split(" ")))
a,b,c,d = [x for x in n]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d -= 1
else :
if c%2==0 :
d += a
else :
if d>c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 0836, 2022-09-24 09:09:23, PPPPPP (100%)
a,b,c,d = [int(x) for x in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 0837, 2022-09-24 09:13:04, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if(a>b):
a,b = b,a
while(d>=a):
if(c>d):
a+=1
else:
d-=1
else:
if(c%2==0):
d = d+a
else:
if(d>c):
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0838, 2022-09-24 09:12:01, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if (a > b):
a, b = b, a
while d >= a:
if (c > d):
a += 1
else:
d -= 1
else:
if (c % 2 == 0):
d += a
else:
if (d > c):
c += d
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0839, 2022-09-24 09:09:55, PPPPPP (100%)
a, b, c, d = list(map(int, input().strip().split()))
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b+c
print(a, b, c, d)
|
# 0840, 2022-09-24 09:15:34, PPPPPP (100%)
#Sathana Laolugsanalerd
a,b,c,d = list(map(int,input().split()))
if(a>b):
a,b=b,a;r=1
while(d>=a):
if(c>d):a+=1
else:d-=1
r=0
if(r):print(a,b,c,d);exit()
else:
if(c%2==0):d+=a
else:
if(d>c):
c+=d
else:b+=a
a=b+c
print(a,b,c,d)
|
# 0841, 2022-09-24 09:09:23, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0842, 2022-09-24 09:09:13, PPPPPP (100%)
import math
a, b, c, d=[int(e) for e in input().split()]
if a>b:
a, b=b, a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a, b, c, d)
|
# 0843, 2022-09-24 09:11:48, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a> b :
a,b= b,a
while d>=a :
if c> d : a+=1
else : d-=1
else:
if c%2==0 :
d=d+a
else :
if d>c :
c=c+d
else : b=b+a
a=b+c
print(a,b,c,d)
|
# 0844, 2022-09-24 09:11:57, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0845, 2022-09-24 09:17:22, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a1 = a
b1 = b
a = b1
b = a1
while d >= a:
if c > d:
a = a + 1
else:
d = d - 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0846, 2022-09-24 09:14:08, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
copya = a
a = b
b = copya
while d >=a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
elif c % 2 == 0:
d = d + a
print(a,b,c,d)
elif d > c:
c = c + d
a = b + c
print(a,b,c,d)
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0847, 2022-09-24 09:12:08, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
|
# 0848, 2022-09-24 09:20:58, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+ a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0849, 2022-09-24 09:13:15, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0850, 2022-09-24 09:12:19, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0851, 2022-09-24 09:10:58, PPPPPP (100%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
print(a,b,c,d)
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0852, 2022-09-24 09:11:28, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
e=a
a=b
b=e
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0853, 2022-09-24 09:13:57, PPPPPP (100%)
a, b, c, d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while d >= a:
if c > d:
a += 1
else:
d -= 1
elif c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a, b, c, d)
|
# 0854, 2022-09-24 09:15:27, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d > c :
c = c+d
else :
b = b+ a
a = b+c
print(a,b,c,d)
|
# 0855, 2022-09-24 09:14:45, PPPPPP (100%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
elif c%2 !=0:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0856, 2022-09-24 09:17:41, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a+=1
else :
d -= 1
else :
exit(0)
else :
if c %2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+ a
a = b+c
print(a,b,c,d)
| # 0857, 2022-09-24 09:18:58, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a+=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+ a
a = b+c
print(a,b,c,d)
| # 0858, 2022-09-24 09:21:17, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a+=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+ a
a = b+c
print(a,b,c,d)
| # 0859, 2022-09-24 09:21:26, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a+=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+ a
a = b+c
print(a,b,c,d)
| # 0860, 2022-09-24 09:23:15, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a+=1
else :
d -= 1
elif c %2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+ a
a = b+c
print(a,b,c,d)
| # 0861, 2022-09-24 09:24:04, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a+=1
else :
d -= 1
else:
break
else :
if c %2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+ a
a = b+c
print(a,b,c,d)
| # 0862, 2022-09-24 09:28:10, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a+=1
else :
d -= 1
if not d >= a:
exit(0)
else :
if c %2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+ a
a = b+c
print(a,b,c,d)
| # 0863, 2022-09-24 09:28:25, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a+=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+ a
a = b+c
print(a,b,c,d)
| # 0864, 2022-09-24 09:31:34, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a+=1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
exit(0)
elif d > c:
c = c+d
else:
b = b+ a
a = b+c
print(a,b,c,d)
| # 0865, 2022-09-24 09:33:27, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a += 1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
exit(0)
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0866, 2022-09-24 09:33:52, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a += 1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
exit(0)
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0867, 2022-09-24 09:34:09, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a += 1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
exit(0)
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
| # 0868, 2022-09-24 10:22:04, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a += 1
else :
d -= 1
if not d >= 1: exit(0)
else :
if c %2 == 0:
d = d+a
exit(0)
elif d > c:
c += d
else:
b += a
a = b+c
if not d >= 1:
print(a,b,c,d)
| # 0869, 2022-09-24 10:22:13, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d>= a:
if c> d:
a += 1
else :
d -= 1
else :
if c %2 == 0:
d = d+a
exit(0)
elif d > c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 0870, 2022-09-24 09:13:09, P-T-PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
d -= 1
print(a,b,c,d)
else :
if c%2 == 0 :
d += a
print(a,b,c,d)
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0871, 2022-09-24 09:17:20, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
print(a,b,c,d)
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0872, 2022-09-24 09:21:31, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0873, 2022-09-24 09:35:14, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0874, 2022-09-24 09:39:23, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0875, 2022-09-24 09:39:35, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0876, 2022-09-24 09:39:56, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0877, 2022-09-24 09:59:58, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while True :
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
break
print(a,b,c,d)
else :
if c%2 == 0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0878, 2022-09-24 10:28:37, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
print(a,b,c,d)
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0879, 2022-09-24 10:37:12, PPP--P (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
print(a,b,c,d)
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0880, 2022-09-24 10:37:19, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
print(a,b,c,d)
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0881, 2022-09-24 10:37:27, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
print(a,b,c,d)
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0882, 2022-09-24 10:37:36, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
print(a,b,c,d)
else :
if d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0883, 2022-09-24 09:20:38, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
break
print(a,b,c,d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0884, 2022-09-24 09:30:56, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0885, 2022-09-24 09:32:23, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0886, 2022-09-24 09:35:59, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if not d >= a: break
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0887, 2022-09-24 09:39:22, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if not d >= a: break
else:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0888, 2022-09-24 09:40:45, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if not d >= a: break
else:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0889, 2022-09-24 09:41:28, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if not d >= a: break
else:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0890, 2022-09-24 09:42:36, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if not d >= a: break
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0891, 2022-09-24 10:24:56, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if not d >= a: break
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0892, 2022-09-24 09:37:26, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else:
if c % 2 == 0:
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0893, 2022-09-24 09:39:12, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
elif c % 2 == 0:
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0894, 2022-09-24 09:39:48, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
elif c % 2 == 0:
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0895, 2022-09-24 09:41:48, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0:
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0896, 2022-09-24 09:43:23, PPPP-P (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0:
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0897, 2022-09-24 09:43:35, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0:
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0898, 2022-09-24 09:43:45, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0:
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0899, 2022-09-24 09:44:53, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
elif c % 2 == 0:
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 0900, 2022-09-24 09:45:10, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0:
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a,b,c,d)
|
# 0901, 2022-09-24 09:31:42, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
break
else:
d -= 1
break
else:
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
print(a,b,c,d)
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0902, 2022-09-24 09:49:08, ------ (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
break
else:
d -= 1
break
else:
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
print(a,b,c,d)
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0903, 2022-09-24 09:53:55, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
break
else:
d -= 1
break
else:
pass
else:
if c % 2 == 0:
d = d + a
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0904, 2022-09-24 10:04:30, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
break
else:
if c % 2 == 0:
d = d + a
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0905, 2022-09-24 10:06:33, T----- (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if d >= a:
if c > d:
a += 1
break
else:
d -= 1
break
else:
pass
else:
if c % 2 == 0:
d = d + a
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0906, 2022-09-24 10:33:17, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
break
else:
if c % 2 == 0:
d = d + a
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0907, 2022-09-24 10:35:22, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
break
else:
if c % 2 == 0:
d = d + a
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0908, 2022-09-24 10:37:29, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True:
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
break
else:
if c % 2 == 0:
d = d + a
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0909, 2022-09-24 09:24:33, -PP-PP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
if d < a : break
else:
print(a,b,c,d)
else:
if c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0910, 2022-09-24 09:36:57, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while not d <a :
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c % 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0911, 2022-09-24 09:43:53, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while not d <a :
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c // 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0912, 2022-09-24 09:45:32, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while not d <a :
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c // 2 == 0:
d = d+a
print(a,b,c,d)
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0913, 2022-09-24 09:47:07, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while not d <a :
if c > d:
a += 1
else:
d -= 1
else:
if c // 2 == 0:
d = d+a
print(a,b,c,d)
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0914, 2022-09-24 09:47:26, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while not d <a :
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c // 2 == 0:
d = d+a
print(a,b,c,d)
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
| # 0915, 2022-09-24 09:48:02, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while not d <a :
if c > d:
a += 1
else:
d -= 1
else:
if c // 2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
|
# 0916, 2022-09-24 09:46:22, PPPP-- (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
print(a,b,c,d)
| # 0917, 2022-09-24 10:23:14, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b+c
print(a,b,c,d)
| # 0918, 2022-09-24 10:23:43, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0919, 2022-09-24 10:24:47, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0920, 2022-09-24 10:25:36, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0921, 2022-09-24 10:25:55, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
print(a,b,c,d)
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0922, 2022-09-24 10:26:30, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b=b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0923, 2022-09-24 09:12:09, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c >d :
a += 1
else:
d -= 1
else:
print(a,b,c,d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0924, 2022-09-24 09:13:08, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c >d :
a += 1
else:
d -= 1
else:
print(a,b,c,d)
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0925, 2022-09-24 09:13:29, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c >d :
a += 1
else:
d -= 1
else:
pass
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0926, 2022-09-24 09:14:03, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c >d :
a += 1
else:
d -= 1
else:
pass
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0927, 2022-09-24 09:17:08, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c >d :
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
| # 0928, 2022-09-24 09:19:55, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c >d :
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0929, 2022-09-24 09:15:03, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a=b
b=a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0 :
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0930, 2022-09-24 09:21:29, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
b=a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0 :
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0931, 2022-09-24 09:22:11, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
b=a
a=b
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0 :
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0932, 2022-09-24 09:23:16, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
b=a
a=b
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0 :
d+=a
else:
if d>c:
c+=d
a=b+c
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0933, 2022-09-24 09:25:27, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
b=a
a=b
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0 :
d+=a
else:
if d>c:
c+=d
a=b+c
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0934, 2022-09-24 10:24:44, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
b=a
a=b
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2 == 0 :
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0935, 2022-09-24 09:52:04, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a :
if c>d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
elif d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0936, 2022-09-24 09:59:05, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while True :
if not d>= a : break
if c>d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
elif d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0937, 2022-09-24 09:59:21, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while True :
if not d>= a : break
if c>d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
elif d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0938, 2022-09-24 09:59:37, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while True :
if not d>= a :break
if c>d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
elif d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0939, 2022-09-24 10:06:47, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while True :
if not d>= a : break
if c>d :
a += 1
break
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
elif d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 0940, 2022-09-24 10:06:59, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while True :
if not d>= a : break
if c>d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d+a
elif d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 0941, 2022-09-24 09:14:17, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d >c :
c = c+d
else :
b = b+a
a = b + c
print(a,b,c,d)
| # 0942, 2022-09-24 09:14:55, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d >c :
c = c+d
else :
b = b+a
a = b + c
print(a,b,c,d)
| # 0943, 2022-09-24 09:19:35, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while True :
if not d >= a : break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
else :
if d >c :
c = c+d
else :
b = b+a
a = b + c
print(a,b,c,d)
| # 0944, 2022-09-24 09:23:25, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while True :
if not d >= a : break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
if d > c :
c = c+d
else :
b = b+a
a = b + c
print(a,b,c,d)
| # 0945, 2022-09-24 09:58:28, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while True :
if not d >= a : break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d+a
elif d > c:
c = c+d
else :
b = b+a
a = b + c
print(a,b,c,d)
|
# 0946, 2022-09-24 09:16:06, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a +=1
else:
d -= 1
else:
if c //2 ==0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0947, 2022-09-24 09:18:04, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a +=1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0948, 2022-09-24 09:28:32, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a +=1
else:
d -= 1
break
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0949, 2022-09-24 09:28:45, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a +=1
else:
d -= 1
break
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 0950, 2022-09-24 09:28:56, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c>d:
a +=1
else:
d -= 1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 0951, 2022-09-24 09:30:28, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a, b = b, a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
elif d>c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
| # 0952, 2022-09-24 09:31:24, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a, b = b, a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
print(a, b, c, d)
else:
if c%2 == 0:
d = d + a
elif d>c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
| # 0953, 2022-09-24 09:33:02, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a, b = b, a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
elif d>c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
| # 0954, 2022-09-24 09:33:21, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a, b = b, a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
elif d>c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
| # 0955, 2022-09-24 09:33:42, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a, b = b, a
while d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
elif d>c:
c = c + d
else:
b = b + a
a = b + c
print(a, b, c, d)
|
# 0956, 2022-09-24 09:12:56, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0957, 2022-09-24 10:26:20, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0958, 2022-09-24 10:32:11, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().strip().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0959, 2022-09-24 10:33:16, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().strip().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0960, 2022-09-24 10:35:51, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().strip().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0961, 2022-09-24 09:11:35, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
pass
elif d>c:
c = c+ d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0962, 2022-09-24 09:16:24, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
elif d>c:
c = c+ d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0963, 2022-09-24 09:17:15, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else: print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
pass
elif d>c:
c = c+ d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0964, 2022-09-24 09:17:26, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
pass
elif d>c:
c = c+ d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0965, 2022-09-24 10:25:22, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
pass
elif d>c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0966, 2022-09-24 09:23:27, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
b = a
a = b
if d >= a :
if c > d :
a += 1
else:
d -= 1
else:
pass
else:
if c % 2 == 0 :
d += a
else:
if d > c :
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0967, 2022-09-24 09:26:33, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
if d >= a :
if c > d :
a = a + 1
else:
d = d - 1
else:
pass
else:
if c % 2 == 0 :
d += a
else:
if d > c :
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0968, 2022-09-24 09:40:45, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
b = a
while d >= a :
if c > d :
a = a + 1
else :
d = d - 1
else:
if c % 2 == 0 :
d += a
else:
if d > c :
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0969, 2022-09-24 09:41:16, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
b = a
a = b
while d >= a :
if c > d :
a = a + 1
else :
d = d - 1
else:
if c % 2 == 0 :
d += a
else:
if d > c :
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0970, 2022-09-24 09:42:16, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
b = a
a = b
while d >= a :
if c > d :
a = a + 1
else :
d = d - 1
else:
if c % 2 == 0 :
d += a
else:
if d > c :
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0971, 2022-09-24 09:11:13, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0972, 2022-09-24 09:19:08, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
| # 0973, 2022-09-24 09:19:27, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0974, 2022-09-24 10:17:18, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
print(a,b,c,d)
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0975, 2022-09-24 09:13:51, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
#print(a,b,c,d)
else:
if c%2==0:
d=d+a
#print(a,b,c,d)
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0976, 2022-09-24 09:19:02, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
#print(a,b,c,d)
else:
if c%2==0:
d=d+a
break
#print(a,b,c,d)
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0977, 2022-09-24 09:54:57, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
#print(a,b,c,d)
else:
if c%2==0:
d=d+a
break
#print(a,b,c,d)
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 0978, 2022-09-24 10:08:11, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
#print(a,b,c,d)
else:
if c%2==0:
d=d+a
#print(a,b,c,d)
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 0979, 2022-09-24 09:14:40, PPP-PP (83%)
a,b,c,d = input().split(" ")
a = int(a) ; b = int(b) ; c = int(c) ; d =int(d)
if a>b :
a, b = b, a
while d >= a :
if c > d : a += 1
else : d-= 1
else :
if c%2 == 0 : d += a
elif d > c : c += d
else : b += a
a = b + c
print(a,b,c,d)
| # 0980, 2022-09-24 09:19:14, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a, b = b, a
while d >= a :
if c > d : a += 1
else : d-= 1
else :
if c%2 == 0 : d = d + a
elif d > c : c = c + d
else : b = b + a
a = b + c
print(a,b,c,d)
| # 0981, 2022-09-24 09:22:33, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a, b = b, a
while d >= a :
if c > d : a = a + 1
else : d = d - 1
else :
if c%2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 0982, 2022-09-24 09:24:55, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a, b = b, a
while d >= a :
if c > d :
a = a + 1
else :
d = d - 1
else :
if c%2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 0983, 2022-09-24 09:17:09, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c%2 == 0:
d = d + a
elif d > c :
c = c + d
else: b = b + a
a = b + c
print(a,b,c,d)
| # 0984, 2022-09-24 09:20:21, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c%2 == 0:
d = d + a
if d > c :
c = c + d
else: b = b + a
a = b + c
print(a,b,c,d)
| # 0985, 2022-09-24 09:22:45, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else: d -= 1
else:
if c%2 == 0:
d = d + a
elif d > c :
c = c + d
else: b = b + a
a = b + c
print(a,b,c,d)
|
# 0986, 2022-09-24 09:18:27, P---PP (50%)
x = input()
x = x.split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a > b:
a,b = b,a
if d >= a :
if c>d :
a+=1
else :
d-=1
else:
if c%2 == 0:
d = d+a
else :
if d>c:
c = c+d
else :
b=b+a
a = b+c
print(a,b,c,d)
| # 0987, 2022-09-24 09:42:58, P---PP (50%)
x = input()
x = x.split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a > b:
a,b = b,a
if d >= a :
if c>d :
a+=1
else :
d-=1
else:
if c%2 == 0:
d = d+a
else :
if d>c:
c = c+d
else :
b=b+a
a = b+c
print(a,b,c,d)
| # 0988, 2022-09-24 10:02:28, PPP-PP (83%)
x = input()
x = x.split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
if a > b:
a,b = b,a
while True :
if not d >= a : break
if c > d:
a+=1
else :
d-=1
else:
if c%2 == 0:
d = d+a
else :
if d>c:
c = c+d
else :
b=b+a
a = b+c
print(a,b,c,d)
|
# 0989, 2022-09-24 09:18:32, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d + a
if d>c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0990, 2022-09-24 09:21:37, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d + a
break
if d>c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0991, 2022-09-24 09:21:49, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d + a
if d>c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 0992, 2022-09-24 09:11:21, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c >d:
a +=1
else:
d -=1
else:
if c % 2 ==0:
d += a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0993, 2022-09-24 10:03:37, P---PP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c >d:
a +=1
break
else:
d -=1
else:
if c % 2 ==0:
d += a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 0994, 2022-09-24 10:03:49, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c >d:
a +=1
else:
d -=1
else:
if c % 2 ==0:
d += a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 0995, 2022-09-24 09:12:39, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
elif d>c:
c = c+d
else:
b = b +a
a = b+c
print(a,b,c,d)
| # 0996, 2022-09-24 10:38:20, PPP--- (50%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
if d>c:
c = c+d
else:
b = b +a
a = b+c
print(a,b,c,d)
| # 0997, 2022-09-24 10:38:36, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d = d+a
elif d>c:
c = c+d
else:
b = b +a
a = b+c
print(a,b,c,d)
|
# 0998, 2022-09-24 09:14:28, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 0999, 2022-09-24 09:25:57, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
if d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1000, 2022-09-24 10:37:51, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d = d + a
elif d > c:
c = c + d
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 1001, 2022-09-24 09:10:25, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 1002, 2022-09-24 10:34:18, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a = b
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
| # 1003, 2022-09-24 10:34:33, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a = b+c
print(a,b,c,d)
|
# 1004, 2022-09-24 09:19:28, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d>= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1005, 2022-09-24 10:03:05, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d = d + a
elif d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 1006, 2022-09-24 09:11:34, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 1007, 2022-09-24 09:11:49, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 1008, 2022-09-24 09:14:16, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 1009, 2022-09-24 10:00:51, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d+=a
elif d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 1010, 2022-09-24 09:28:41, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
x = 0
if (a > b) :
x = a
a = b
b = x
while (d >= a) :
if (c > d) :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if (c%2 == 0) :
d = d + a
elif (d > c) :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1011, 2022-09-24 09:30:24, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
x = 0
if (a > b) :
x = a
a = b
b = x
while (d >= a) :
if (c > d) :
a += 1
else :
d -= 1
else :
if (c%2 == 0) :
d = d + a
elif (d > c) :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 1012, 2022-09-24 10:09:26, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c % 2 == 0:
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1013, 2022-09-24 10:10:09, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a:
if c > d:
a += 1
else :
d -= 1
else :
if c % 2 == 0:
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 1014, 2022-09-24 09:20:40, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True :
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
break
else :
if c%2==0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
| # 1015, 2022-09-24 09:22:02, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True :
if d >= a :
if c > d :
a += 1
else :
d -= 1
if d < a :
break
else :
if c%2==0 :
d += a
else :
if d > c :
c += d
else :
b += a
a = b+c
print(a,b,c,d)
|
# 1016, 2022-09-24 09:15:28, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
b = a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c % 2 == 0:
d += a
else:
if d > c:
c += d
else:
b += a
a = b + c
print(a,b,c,d)
|
# 1017, 2022-09-24 09:13:41, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a+=1
else :
d-=1
else :
if c%2==0 :
d = d+a
elif d > c :
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 1018, 2022-09-24 09:50:27, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d +a
else:
if d > c:
c = c+d
else: b = b+a
a = b + c
print(a,b,c,d)
|
# 1019, 2022-09-24 09:24:21, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d += d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 1020, 2022-09-24 09:11:58, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
b = a
while d >= a:
if c > d:
a+=1
else:
d-=1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b + c
print(a,b,c,d)
|
# 1021, 2022-09-24 09:17:46, -PPPPP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
b = a
a = b
while d >= a :
if c>d:
a += 1
else:
d -= 1
else:
if c %2 == 0 :
d = d + a
else:
if d>c :
c = c+d
a = b+c
else:
b = b+a
a = b+c
print (a,b,c,d)
|
# 1022, 2022-09-24 09:15:13, PPPPP- (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
print(a,b,c,d)
elif c%2==0:
d=d+a
print(a,b,c,d)
elif d>c:
c=c+d
a=b+c
print(a,b,c,d)
else:
b=b+a
print(a,b,c,d)
|
# 1023, 2022-09-24 09:17:35, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c % 2 == 0 :
d += a
elif d > c :
c += d
else :
b += a
a = b + c
print(a, b, c, d)
|
# 1024, 2022-09-24 09:14:29, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 1025, 2022-09-24 09:12:15, PPP-PP (83%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:
if c%2==0:
d=d+a
else:
if d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 1026, 2022-09-24 09:24:16, P--PPP (67%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1027, 2022-09-24 09:30:02, ---PPP (50%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
a,b == b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1028, 2022-09-24 09:30:19, P--PPP (67%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1029, 2022-09-24 09:31:30, P--PPP (67%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
a,b = b,a
if d >= a:
if c > d:
a += 1
pass
else:
d -= 1
pass
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1030, 2022-09-24 09:32:03, P--PPP (67%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
a , b = b , a
if d >= a:
if c > d:
a += 1
pass
else:
d -= 1
pass
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1031, 2022-09-24 09:32:29, xxxxxx (0%)
a,b,c,d = input().split()
if a > b:
a , b = b , a
if d >= a:
if c > d:
a += 1
pass
else:
d -= 1
pass
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1032, 2022-09-24 09:32:36, P--PPP (67%)
a,b,c,d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
if a > b:
a , b = b , a
if d >= a:
if c > d:
a += 1
pass
else:
d -= 1
pass
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1033, 2022-09-24 10:28:53, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1034, 2022-09-24 10:30:51, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b == b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1035, 2022-09-24 10:31:01, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1036, 2022-09-24 10:31:47, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
| # 1037, 2022-09-24 10:32:03, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
pass
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
a = b + c
else:
b = b + a
a = b + c
print(a,b,c,d)
|
# 1038, 2022-09-24 09:13:24, TTTPPP (50%)
a,b,c,d = [int(e) for e in input().split()]
A=a
B=b
C=c
D=d
if a>b:
b=A
a=D
while d<=a:
if c>d:
a+1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 1039, 2022-09-24 09:14:42, -T-PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
A=a
B=b
C=c
D=d
if a>b:
b=A
a=D
while d>=a:
if c>d:
a+1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 1040, 2022-09-24 09:15:10, -T-PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
A=a
B=b
C=c
D=d
if a>b:
b=A
a=D
while d>=a:
if c>d:
a+1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
| # 1041, 2022-09-24 09:15:37, PTTPPP (67%)
a,b,c,d = [int(e) for e in input().split()]
A=a
B=b
C=c
D=d
if a>b:
b=A
a=B
while d>=a:
if c>d:
a+1
else:
d-=1
else:
if c%2==0:
d+=a
else:
if d>c:
c+=d
else:
b+=a
a=b+c
print(a,b,c,d)
|
# 1042, 2022-09-24 09:25:33, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
n = a
a = b
b = n
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1043, 2022-09-24 10:11:23, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
n = a
a = b
b = n
if d >= a :
if c > d :
a += 1
else :
d -= 1
else :
print(a,b,c,d)
else :
if c%2 == 0 :
d = d + a
else :
if d > c :
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 1044, 2022-09-24 09:17:44, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b =b,a
if d >= a :
if c>=d:
a += 1
else :
d -= 1
else :
pass
else:
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
| # 1045, 2022-09-24 09:42:24, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b =b,a
while d >= a :
if c>=d:
a += 1
break
else :
d -= 1
else:
if c%2 == 0 :
d = d+a
else :
if d>c :
c = c+d
else :
b = b+a
a = b+c
print(a,b,c,d)
|
# 1046, 2022-09-24 09:18:31, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
(a,b) = (b,a)
if d>=a:
if c > d:
a+=1
else:
d-=1
else:
if c % 2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 1047, 2022-09-24 10:15:57, -PP-PP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b:
a,b = b,a
while d>=a:
if c>d:
a += 1
else:
d -= 1
if b>=a:
if c%2 == 0:
d += a
pass
elif d>c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 1048, 2022-09-24 09:39:35, P--PPP (67%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
if d >= a:
if c>d:
a +=1
else:
d -=1
d >= a
else :
pass
else:
if c%2 == 0 :
d = d+a
else:
if d>c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 1049, 2022-09-24 09:14:19, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 =+ 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1050, 2022-09-24 09:17:29, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 += 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1051, 2022-09-24 09:17:55, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 += 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1052, 2022-09-24 09:18:56, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 += 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1053, 2022-09-24 09:20:06, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
print(a,b,c,d)
else :
if c%2 = 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1054, 2022-09-24 09:20:29, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 = 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1055, 2022-09-24 09:20:44, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
break
else :
if c%2 = 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1056, 2022-09-24 09:22:06, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
break
else :
if c%2 = 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1057, 2022-09-24 09:22:57, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
break
else :
if c%2 == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1058, 2022-09-24 09:24:07, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1059, 2022-09-24 09:38:20, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True :
if d < a :break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 =+ 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1060, 2022-09-24 09:40:00, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True :
if d >= a :break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 =+ 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1061, 2022-09-24 09:43:51, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else:
break
else :
if c%2 =+ 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1062, 2022-09-24 09:46:11, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a :break
if c > d :
a += 1
else :
d -= 1
else:
break
else :
if c%2 =+ 0 :
d += a
else :
if d > c:
c += d
else :
b +=a
a = b + c
print(a,b,c,d)
| # 1063, 2022-09-24 09:47:42, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True :
if d < a :break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1064, 2022-09-24 09:48:00, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True :
if d >= a :break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1065, 2022-09-24 10:18:31, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True :
if d >= a :
break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1066, 2022-09-24 10:20:06, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True :
if d >= a :
break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1067, 2022-09-24 10:20:38, T--PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while True :
if d >= a :
break
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1068, 2022-09-24 10:21:24, T--P-P (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while True :
if d >= a :
break
if c > d :
a += 1
else :
d -= 1
else :
if (c%2) == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1069, 2022-09-24 10:21:39, T--PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a, b = b, a
while True :
if d >= a :
break
if c > d :
a += 1
else :
d -= 1
else :
if (c%2) == 0 :
d += a
else :
if d > c:
c += d
else :
b += a
a = b + c
print(a,b,c,d)
| # 1070, 2022-09-24 10:23:55, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while True :
if d >= a :
break
if c > d :
a = a + 1
else :
d = d - 1
else :
if (c%2) == 0 :
d = d - a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1071, 2022-09-24 10:24:26, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while True :
if d >= a :
break
if c > d :
a = a + 1
else :
d = d - 1
else :
if (c%2) == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1072, 2022-09-24 10:25:37, T--PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while True :
if d >= a :
break
if c > d :
a = a + 1
else :
d = d - 1
else :
if (c%2) == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1073, 2022-09-24 10:26:23, T---PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while True :
if d >= a :
break
if c > d :
a = a + 1
else :
d = d - 1
else :
if (c%2) == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1074, 2022-09-24 10:26:44, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while True :
if d >= a :
break
if c > d :
a = a + 1
else :
d = d - 1
else :
if (c%2) == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1075, 2022-09-24 10:27:20, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while True :
if d >= a : break
if c > d :
a = a + 1
else :
d = d - 1
else :
if (c%2) == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1076, 2022-09-24 10:37:28, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while True :
if d >= a :
break
if c > d :
a = a + 1
else :
d = d - 1
else :
if (c%2) == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
| # 1077, 2022-09-24 10:37:47, T--PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a, b = b, a
while True :
if d >= a :
break
if c > d :
a = a + 1
else :
d = d - 1
else :
if (c%2) == 0 :
d = d + a
else :
if d > c:
c = c + d
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 1078, 2022-09-24 09:45:41, ---P-P (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a = b
b = a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
b = b+a
a = b+c
print(a,b,c,d)
| # 1079, 2022-09-24 09:59:11, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a = b
b = a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1080, 2022-09-24 10:02:36, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1081, 2022-09-24 10:18:16, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
elif d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1082, 2022-09-24 10:18:58, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1083, 2022-09-24 10:20:58, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1084, 2022-09-24 10:24:22, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1085, 2022-09-24 10:35:22, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
pass
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1086, 2022-09-24 10:35:36, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
pass
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1087, 2022-09-24 10:35:44, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
pass
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1088, 2022-09-24 10:36:13, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1089, 2022-09-24 10:36:35, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
| # 1090, 2022-09-24 10:36:58, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a: break
if c > d :
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
if d > c:
c = c+d
else:
b = b+a
a = b+c
print(a,b,c,d)
|
# 1091, 2022-09-24 09:22:04, compilation error (0%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
else:break
elif c%2==0:
d=d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 1092, 2022-09-24 09:27:25, P--P-P (50%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
break
elif c%2==0:
d=d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 1093, 2022-09-24 09:33:06, ----PP (33%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
elif c%2==0:
d=d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 1094, 2022-09-24 09:34:59, compilation error (0%)
a,b,c,d=[int(e) for e in input().split()]
if a>b:
a,b=b,a
while d>=a:
if c>d:
a+=1
else:
d-=1
elif c%2==0:
d=d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 1095, 2022-09-24 10:29:54, ---PPP (50%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a = b
b = a
while d >= a :
if c > d :
a += 1
else :
d -= 1
else :
if c%2 == 0:
d = d + a
elif d > c :
c = c + d
a = b + c
else :
b = b + a
a = b + c
print(a,b,c,d)
|
# 1096, 2022-09-24 10:01:29, P--P-- (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
print(a,b,c,d)
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
print(a,b,c,d)
| # 1097, 2022-09-24 10:02:11, ---P-- (17%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
print(a,b,c,d)
| # 1098, 2022-09-24 10:02:34, P--P-- (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
print(a,b,c,d)
else:
if c%2 == 0:
d = d + a
else:
if d > c:
c = c + d
else:
b = b + a
print(a,b,c,d)
|
# 1099, 2022-09-24 09:26:44, compilation error (0%)
a,b,c,d=int(input())
if a>b :
a=b
b=a
for d>=a :
if c>d :
a+=1
else :
d+=-1
for d<a :
print(a,b,c,d)
else :
if c%2==0 :
d=d+a
else :
if d>c :
c=c+d
a=b+c
print(a,b,c,d)
else :
b=b+a
a=b+c
print(a,b,c,d)
| # 1100, 2022-09-24 09:44:15, TTT-PP (33%)
a,b,c,d = [int(e) for e in input().split()]
x=a
y=b
z=c
w=d
if a>b :
a=y
b=x
while d>=a :
if c>d :
a+=1
else :
d+=-1
while d<a :
print(a,b,c,d)
else :
if c%2==0 :
d=d+a
else :
if d>c :
c=z+w
a=b+c
print(a,b,c,d)
else :
b=x+y
a=b+c
print(a,b,c,d)
| # 1101, 2022-09-24 09:59:30, TTT-PP (33%)
a,b,c,d = [int(e) for e in input().split()]
x=a
y=b
z=c
w=d
if a>b :
a=y
b=x
while d>=a :
if c>d :
a+=1
else :
d+=-1
while d<a :
print(a,b,c,d)
else :
if c%2==0 :
d=d+a
else :
if d>c :
c=z+w
a=b+c
print(a,b,c,d)
else :
b=x+y
a=b+c
print(a,b,c,d)
|
# 1102, 2022-09-24 09:23:31, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a > b :
a,b = b,a
if d >= a:
if c > d:
a += 1
else:
d -= 1
else:
print(a,b,c,d)
else:
if c%2 == 0:
d = d+a
print(a,b,c,d)
else:
if d > c:
c = c + d
a = b + c
else :
b = b + a
a = b +c
print(a,b,c,d)
|
# 1103, 2022-09-24 09:17:47, ----PP (33%)
a,b,c,d = [int(e) for e in input().split()]
if a>b :
a,b = b,a
while d>=a:
if c > d:
a += 1
else:
d -= 1
elif c%2 ==0 :
d += a
elif d>c:
c += d
else:
b += a
a = b+c
print(a,b,c,d)
|
# 1104, 2022-09-24 09:22:30, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
a = []
b = []
c = []
d = []
if a > b :
a = b
b = a
pass
if d>=a :
c > d
a += 1
else:
print(a,b,c,d)
else:
c%2 = 0
d += a
pass
else:
d > c
c +=d
a = b + c
pass
else:
b += a
a = b + c
print(a,b,c,d)
| # 1105, 2022-09-24 09:38:19, compilation error (0%)
a,b,c,d = [int(e) for e in input().split()]
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a > b :
a = b
b = a
pass
elif d >= a :
c > d
a += 1
else:
c%2 = 0
d += a
pass
elif:
d > c
c +=d
a = b + c
pass
else:
b += a
a = b + c
print(a,b,c,d)
| # 1106, 2022-09-24 10:13:21, compilation error (0%)
import math
a,b,c,d = [int(e) for e in input().split()]
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a > b :
a = b
b = a
pass
elif d >= a :
c > d
a += 1
else:
c%2 = 0
d += a
pass
elif:
d > c
c +=d
a = b + c
pass
else:
b += a
a = b + c
print(a,b,c,d)
|
# 1107, 2022-09-24 09:40:35, xxxxxx (0%)
a = int(input()); b = int(input()); c = int(input()); d = int(input())
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >c:
c = c+d
else:
b = b+a
print(a = b+c)
print(a,b,c,d)
| # 1108, 2022-09-24 09:50:41, xx--xx (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >c:
c = c+d
else:
b = b+a
print(a = b+c)
print(a,b,c,d)
| # 1109, 2022-09-24 10:03:49, ------ (0%)
a,b,c,d = [int(e) for e in input().split()]
if a > b:
a,b = b,a
while d >= a:
if c > d:
a += 1
else:
d -= 1
else:
if c%2 == 0:
d = d+a
else:
if d >c:
c = c+d
else:
b = b+a
print("a = b+c")
print(a,b,c,d)
|
# 1110, 2022-09-24 10:20:08, compilation error (0%) a,b,c,d = [int(e) for e in input().split()] if a>b: print(a,b)= b,a else : | # 1111, 2022-09-24 10:20:13, compilation error (0%) a,b,c,d = [int(e) for e in input().split()] if a>b: print(a,b)= b,a else : |
# 1112, 2022-09-24 10:36:12, xxxxxx (0%)
a= int(input())
b= int(input())
c= int(input())
d= int(input())
if a>b:
(a,b)=(b,a)
if d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 ==0:
d= d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
| # 1113, 2022-09-24 10:38:34, xxxxxx (0%)
a= int(input())
b= int(input())
c= int(input())
d= int(input())
if a>b:
(a,b)=(b,a)
if d>=a:
if c>d:
a += 1
else:
d -= 1
else:
if c%2 ==0:
d= d+a
elif d>c:
c=c+d
else:
b=b+a
a=b+c
print(a,b,c,d)
|
# 1114, 2022-09-24 09:15:21, ------ (0%) a = input() |
# 1115, 2022-09-24 10:20:53, compilation error (0%)
import math
a,b,c,d = [int(e) for e in input() .split()]
if a > b :
(a,b) = (b,a)
if d < a :
break
if d >= a :
if c > d :
a += 1
if c =< d :
d -= 1
if d < a :
break
a += 1
d -= 1
if a =< b :
if c = 2*n ; n = int
d += a
break
if c = 2*n + 1 ; n = int
if d > c :
c += d
if d =< c :
b += a
a = b + c
break
print(a,b,c,d .split(1))
|
# 1116, 2022-09-24 10:38:57, xxxxxx (0%) ytjtyjty |