# 1638887, 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)
| # 1638987, 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)
| # 1639014, 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)
| # 1639110, 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)
| # 1639118, 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)
| # 1639163, 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)
| # 1639167, 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)
| # 1639186, 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)
| # 1639207, 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)
| # 1639218, 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)
| # 1639251, 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)
| # 1639273, 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)
| # 1639332, 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)
| # 1639339, 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)
| # 1639400, 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)
| # 1639521, 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)
|
# 1638556, 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)
| # 1638736, 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)
| # 1638763, 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)
| # 1639263, 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)
| # 1639323, 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)
| # 1639402, 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)
| # 1640173, 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)
| # 1640188, 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)
| # 1640618, 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)
| # 1640631, 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)
| # 1640740, 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)
| # 1641059, 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)
| # 1641129, 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)
| # 1641167, 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)
| # 1641418, 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)
|
# 1638548, 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)
| # 1639036, 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)
| # 1639293, 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)
| # 1639303, 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)
| # 1639349, 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)
| # 1639372, 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)
| # 1639605, 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)
| # 1639673, 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)
| # 1639686, 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)
| # 1639748, 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)
| # 1640271, 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)
| # 1641163, 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)
| # 1641210, 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)
| # 1641215, 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)
| # 1641295, 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)
|
# 1638633, 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)
| # 1638962, 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)
| # 1639069, 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)
| # 1639192, 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)
| # 1639204, 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)
| # 1640100, 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)
| # 1640104, 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)
| # 1640558, 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)
| # 1640683, 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)
| # 1640982, 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)
| # 1640986, 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)
| # 1641235, 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)
| # 1641241, 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)
| # 1641962, 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)
| # 1642075, 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)
|
# 1639092, 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)
| # 1639228, 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)
| # 1639420, 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)
| # 1640813, 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)
| # 1640901, 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)
| # 1640951, 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)
| # 1640956, 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)
| # 1641256, 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)
| # 1641314, 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)
| # 1641345, 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)
| # 1641556, 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)
| # 1641575, 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)
| # 1641623, 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)
|
# 1638700, 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)
| # 1638724, 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)
| # 1638892, 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)
| # 1638970, 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)
| # 1638977, 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)
| # 1638994, 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)
| # 1638999, 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)
| # 1639006, 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)
| # 1639040, 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)
| # 1639049, 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)
| # 1641469, 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)
| # 1641486, 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)
| # 1641508, 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)
|
# 1638800, 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)
| # 1638922, 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)
| # 1638984, 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)
| # 1639350, 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)
| # 1639363, 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)
| # 1639554, 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)
| # 1639642, 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)
| # 1639648, 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)
| # 1641064, 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)
| # 1641570, 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)
| # 1641681, 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)
| # 1641712, 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)
| # 1641922, 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)
|
# 1638863, 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)
| # 1638925, 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)
| # 1639066, 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)
| # 1639147, 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)
| # 1639198, 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)
| # 1639260, 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)
| # 1639280, 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)
| # 1639360, 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)
| # 1639391, 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)
| # 1639415, 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)
| # 1642081, 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)
| # 1642087, 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)
|
# 1638527, 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)
| # 1638898, 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)
| # 1640160, 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)
| # 1640230, 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)
| # 1640236, 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)
| # 1640952, 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)
| # 1640959, 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)
| # 1641020, 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)
| # 1642102, 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)
| # 1642160, 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)
| # 1642395, 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)
|
# 1638909, 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)
| # 1638985, 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)
| # 1639061, 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)
| # 1639112, 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)
| # 1639144, 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)
| # 1639310, 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)
| # 1639315, 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)
| # 1639318, 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)
| # 1639336, 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)
| # 1639352, 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)
| # 1639357, 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)
|
# 1638945, 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)
| # 1639165, 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)
| # 1639585, 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)
| # 1640399, 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)
| # 1640414, 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)
| # 1640423, 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)
| # 1640475, 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)
| # 1640504, 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)
| # 1641999, 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)
| # 1642063, 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)
|
# 1638730, 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)
| # 1638754, 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)
| # 1638784, 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)
| # 1638963, 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)
| # 1639316, 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)
| # 1639428, 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)
| # 1639462, 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)
| # 1639535, 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)
| # 1639546, 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)
|
# 1638775, 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)
| # 1639862, 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)
| # 1639897, 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)
| # 1639920, 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)
| # 1639937, 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)
| # 1639978, 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)
| # 1640036, 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)
| # 1640048, 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)
| # 1640127, 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)
|
# 1638578, 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)
| # 1638801, 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)
| # 1639319, 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)
| # 1639894, 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)
| # 1642136, 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)
| # 1642250, 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)
| # 1642299, 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)
| # 1642365, 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)
|
# 1639154, 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)
| # 1639735, 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)
| # 1640043, 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
| # 1640053, 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 | # 1640477, 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
| # 1640979, 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
| # 1642116, 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)
|
# 1638580, 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)
| # 1641538, 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)
| # 1641552, 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)
| # 1641633, 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)
| # 1641641, 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)
| # 1641659, 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)
| # 1641677, 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)
|
# 1638823, 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)
| # 1638912, 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)
| # 1639329, 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)
| # 1640365, 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)
| # 1640372, 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)
| # 1640392, 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)
|
# 1639584, 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)
| # 1639767, 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)
| # 1639796, 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)
| # 1639915, 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)
| # 1640444, 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)
| # 1640661, 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)
|
# 1638864, 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)
| # 1638890, 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)
| # 1639016, 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)
| # 1639078, 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)
| # 1639090, 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)
| # 1639345, 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)
|
# 1638840, 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)
| # 1638928, 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)
| # 1640543, 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)
| # 1641640, 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)
| # 1641686, 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)
| # 1641761, 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)
|
# 1638458, 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)
| # 1638764, 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)
| # 1640313, 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)
| # 1640318, 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)
| # 1640325, 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)
| # 1641974, 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)
|
# 1638636, 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)
| # 1638663, 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)
| # 1638747, 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)
| # 1640027, 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)
| # 1640116, 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)
| # 1641113, 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)
|
# 1638552, 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)
| # 1638675, 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)
| # 1638839, 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)
| # 1638889, 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)
| # 1638978, 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)
| # 1639053, 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)
|
# 1638790, 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)
| # 1638815, 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)
| # 1639034, 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)
| # 1639137, 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)
| # 1641528, 2022-09-24 10:24:16, ------ (0%) x = input() print(x) | # 1641536, 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)
|
# 1638404, 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)
| # 1638557, 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)
| # 1638622, 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)
| # 1638732, 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)
| # 1638785, 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)
|
# 1638512, 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)
| # 1639133, 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)
| # 1639269, 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)
| # 1639387, 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)
| # 1639425, 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)
|
# 1638843, 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)
| # 1638861, 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)
| # 1638972, 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)
| # 1639094, 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)
| # 1639388, 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)
|
# 1638719, 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)
| # 1638951, 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)
| # 1639109, 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)
| # 1639138, 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)
| # 1639194, 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)
|
# 1638472, 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)
| # 1638503, 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)
| # 1639005, 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)
| # 1639025, 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)
| # 1639058, 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)
|
# 1638396, 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)
| # 1638502, 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)
| # 1638547, 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)
| # 1640310, 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)
|
# 1638407, 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)
| # 1638543, 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)
| # 1640673, 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)
| # 1642186, 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)
|
# 1638884, 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)
| # 1638935, 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)
| # 1638950, 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)
| # 1639169, 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)
|
# 1638450, 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)
| # 1638565, 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)
| # 1638672, 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)
| # 1639029, 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)
|
# 1638967, 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)
| # 1639190, 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)
| # 1639205, 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)
| # 1639529, 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)
|
# 1639370, 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)
| # 1639508, 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)
| # 1639544, 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)
| # 1639858, 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)
|
# 1638831, 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)
| # 1638917, 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)
| # 1639084, 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)
| # 1639245, 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)
|
# 1638554, 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)
| # 1639660, 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)
| # 1639688, 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)
| # 1640573, 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)
|
# 1638738, 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
| # 1638980, 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)
| # 1639037, 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)
| # 1641402, 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)
|
# 1638699, 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)
| # 1638741, 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)
| # 1638755, 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)
| # 1638766, 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)
|
# 1640370, 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))
| # 1640480, 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))
| # 1640518, 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)))
| # 1640942, 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)
|
# 1638819, 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)
| # 1638924, 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)
| # 1638954, 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)
| # 1639013, 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)
|
# 1638921, 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)
| # 1640924, 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)
| # 1641321, 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)
| # 1641932, 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)
|
# 1639083, 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)
| # 1639096, 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)
| # 1640988, 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)
| # 1641065, 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)
|
# 1638771, 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)
| # 1638944, 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)
| # 1639011, 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)
| # 1639072, 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)
|
# 1638573, 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)
| # 1641742, 2022-09-24 10:28:05, ------ (0%)
x = input()
print(x)
| # 1641763, 2022-09-24 10:28:27, xxxxxx (0%) x = input() print(int(x)) | # 1642444, 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))
|
# 1638568, 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)
| # 1638642, 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)
| # 1638773, 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)
| # 1638841, 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)
|
# 1638681, 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)
| # 1638734, 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)
| # 1639043, 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)
| # 1639088, 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)
|
# 1638446, 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)
| # 1638464, 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)
| # 1638534, 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)
| # 1638616, 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)
|
# 1638387, 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)
| # 1638389, 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)
| # 1638393, 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)
| # 1638425, 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)
|
# 1638645, 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)
| # 1638845, 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)
| # 1639532, 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)
| # 1640061, 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)
|
# 1638525, 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)
| # 1638794, 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)
| # 1638851, 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)
| # 1638976, 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)
|
# 1638391, 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)
| # 1638441, 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)
| # 1638715, 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)
| # 1638768, 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)
|
# 1638799, 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)
| # 1638862, 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)
| # 1641152, 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)
| # 1641648, 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)
|
# 1638476, 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)
| # 1638597, 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)
| # 1638850, 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)
|
# 1638439, 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)
| # 1638574, 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)
| # 1638671, 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)
|
# 1638635, 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)
| # 1640638, 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)
| # 1641817, 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)
|
# 1638400, 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)
| # 1638611, 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)
| # 1638726, 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)
|
# 1639401, 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)
| # 1639473, 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)
| # 1639706, 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)
|
# 1638521, 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)
| # 1638609, 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)
| # 1638914, 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)
|
# 1638522, 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)
| # 1641881, 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)
| # 1642069, 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)
|
# 1638716, 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)
| # 1638737, 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)
| # 1639340, 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)
|
# 1638544, 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)
| # 1638879, 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)
| # 1641514, 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)
|
# 1638555, 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)
| # 1640797, 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)
| # 1640812, 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)
|
# 1638679, 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)
| # 1638702, 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)
| # 1638821, 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)
|
# 1638587, 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)
| # 1638600, 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)
| # 1638896, 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)
|
# 1639179, 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)
| # 1639312, 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)
| # 1639740, 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)
|
# 1639566, 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)
| # 1640030, 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)
| # 1640063, 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)
|
# 1638982, 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)
| # 1640799, 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)
| # 1640878, 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)
|
# 1638711, 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)
| # 1640182, 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)
| # 1640299, 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)
|
# 1639199, 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)
| # 1640190, 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)
| # 1641472, 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)
|
# 1639073, 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)
| # 1639180, 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)
| # 1639187, 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)
|
# 1638827, 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)
| # 1639039, 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)
| # 1639162, 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)
|
# 1638575, 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)
| # 1638720, 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)
| # 1639002, 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)
|
# 1638695, 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)
| # 1641768, 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)
| # 1642066, 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)
|
# 1639392, 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
| # 1639595, 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)
| # 1642108, 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)
|
# 1638508, 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)
| # 1638531, 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)
| # 1640522, 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)
|
# 1638416, 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)
| # 1640682, 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())
| # 1640688, 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)
|
# 1639276, 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)
| # 1639355, 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)
| # 1639398, 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)
|
# 1638558, 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)
| # 1638745, 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)
| # 1639004, 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)
|
# 1638607, 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)
| # 1638619, 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)
| # 1640140, 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)
|
# 1638451, 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(ก, ข, ค, ง)
| # 1638498, 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(ก, ข, ค, ง)
| # 1639390, 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(ก, ข, ค, ง)
|
# 1638388, 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)
| # 1638710, 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)
| # 1639446, 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)
|
# 1641976, 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)
| # 1642022, 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)
| # 1642146, 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)
|
# 1638780, 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)
| # 1638937, 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)
| # 1639170, 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)
|
# 1638728, 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)
| # 1638749, 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)
| # 1638835, 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)
|
# 1639221, 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)
| # 1640029, 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)
| # 1640112, 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)
|
# 1638674, 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)
| # 1638849, 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)
| # 1638958, 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)
|
# 1638648, 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)
| # 1642158, 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)
| # 1642184, 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)
|
# 1638576, 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)
| # 1638591, 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)
| # 1638646, 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)
|
# 1638643, 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)
| # 1638660, 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)
| # 1640412, 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)
|
# 1638847, 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)
| # 1638927, 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)
|
# 1638528, 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)
| # 1638744, 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)
|
# 1638417, 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)
| # 1638567, 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)
|
# 1638577, 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)
| # 1638729, 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)
|
# 1638601, 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)
| # 1638651, 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)
|
# 1638453, 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)
| # 1638537, 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)
|
# 1638853, 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)
| # 1638926, 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)
|
# 1638659, 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)
| # 1640991, 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)
|
# 1638405, 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)
| # 1638454, 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)
|
# 1638563, 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)
| # 1638582, 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)
|
# 1638482, 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)
| # 1638614, 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)
|
# 1638697, 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)
| # 1638818, 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)
|
# 1638714, 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)
| # 1641130, 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)
|
# 1638865, 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)
| # 1638995, 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)
|
# 1638661, 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)
| # 1638712, 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)
|
# 1639327, 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)
| # 1639616, 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)
|
# 1638610, 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)
| # 1638829, 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)
|
# 1638505, 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)
| # 1640362, 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)
|
# 1638817, 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)
| # 1638855, 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)
|
# 1638653, 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)
| # 1638796, 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)
|
# 1638475, 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)
| # 1638535, 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)
|
# 1638603, 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)
| # 1638683, 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)
|
# 1638871, 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)
| # 1638990, 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)
|
# 1638762, 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)
| # 1638852, 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)
|
# 1638918, 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)
| # 1639224, 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)
|
# 1638940, 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)
| # 1639023, 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)
|
# 1638872, 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)
| # 1638875, 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)
|
# 1639134, 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)
| # 1640445, 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)
|
# 1638638, 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)
| # 1638856, 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)
|
# 1638680, 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)
| # 1638770, 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)
|
# 1639064, 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
| # 1639108, 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)
|
# 1638569, 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)
| # 1641041, 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)
|
# 1638900, 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)
| # 1639057, 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)
|
# 1638746, 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)
| # 1641564, 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)
|
# 1638501, 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)
| # 1639687, 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)
|
# 1638933, 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)
| # 1638975, 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)
|
# 1638581, 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)
| # 1638684, 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)
|
# 1638434, 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)
| # 1638452, 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)
|
# 1638640, 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)
| # 1638706, 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)
|
# 1638486, 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)
| # 1640139, 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)
|
# 1638579, 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)
| # 1638806, 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)
|
# 1639210, 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)
| # 1639385, 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)
|
# 1638559, 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)
| # 1638667, 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)
|
# 1638588, 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)
| # 1639060, 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)
|
# 1638490, 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)
| # 1638602, 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)
|
# 1638639, 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) | # 1640103, 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) |
# 1638612, 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)
| # 1640166, 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)
|
# 1638740, 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()
| # 1640324, 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()
|
# 1639148, 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)
| # 1639906, 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)
|
# 1638869, 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)
| # 1639723, 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)
|
# 1638676, 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)
| # 1638916, 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)
|
# 1638510, 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)
| # 1638650, 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)
|
# 1638499, 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)
| # 1639430, 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)
|
# 1638461, 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)
| # 1638545, 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)
|
# 1638470, 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)
| # 1638621, 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)
|
# 1638500, 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)
| # 1638668, 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)
|
# 1638564, 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)
| # 1638943, 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)
|
# 1638449, 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)
| # 1640383, 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)
|
# 1638465, 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) +
| # 1638485, 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) )
|
# 1638546, 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)
| # 1638793, 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)
|
# 1638973, 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)
| # 1639104, 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)
|
# 1638428, 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)
| # 1640801, 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)
|
# 1638456, 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)
| # 1638704, 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)
|
# 1638455, 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)
| # 1641388, 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)
|
# 1639046, 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)
| # 1639117, 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)
|
# 1638626, 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)
| # 1638777, 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)
|
# 1638496, 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)
| # 1638605, 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)
|
# 1638782, 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)
| # 1639022, 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)
|
# 1638585, 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)
| # 1638992, 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)
|
# 1638468, 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)
| # 1639534, 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)
|
# 1638401, 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)
| # 1638424, 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)
|
# 1638411, 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)
| # 1642137, 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)
|
# 1638413, 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)
| # 1638437, 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)
|
# 1638481, 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)
| # 1641097, 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)
|
# 1638571, 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)
| # 1641122, 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)
|
# 1638493, 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)
| # 1638682, 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)
|
# 1638519, 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)
| # 1640125, 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)
|
# 1639000, 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)
| # 1639081, 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)
|
# 1638517, 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)
| # 1639874, 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)
|
# 1638488, 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)
| # 1638655, 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)
|
# 1638551, 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()
| # 1638733, 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)
|
# 1638487, 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)
| # 1638753, 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)
|
# 1638406, 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)
| # 1638426, 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)
|
# 1638445, 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)
| # 1639142, 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)
|
# 1638946, 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)
| # 1639201, 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)
|
# 1638459, 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)
| # 1638618, 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)
|
# 1638656, 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)
| # 1638993, 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)
|
# 1638523, 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)
| # 1638624, 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)
|
# 1638991, 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)
| # 1639481, 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)
|
# 1638830, 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)
| # 1640679, 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)
|
# 1638541, 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)
| # 1638584, 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)
|
# 1639012, 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)
| # 1640073, 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)
|
# 1638438, 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)
| # 1638542, 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)
|
# 1638804, 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)
|
# 1638415, 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)
|
# 1638932, 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))
|
# 1638433, 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)
|
# 1638408, 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)
|
# 1639291, 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)
|
# 1638803, 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)
|
# 1638539, 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)
|
# 1638961, 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)
|
# 1638658, 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)
|
# 1638460, 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)
|
# 1638781, 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)
|
# 1638509, 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)
|
# 1638686, 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)
|
# 1638457, 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)
|
# 1638562, 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)
|
# 1638860, 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)
|
# 1638536, 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)
|
# 1638532, 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)
|
# 1638590, 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)
|
# 1638397, 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)
|
# 1639174, 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)
|
# 1638474, 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)
|
# 1638705, 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)
|
# 1638427, 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)
|
# 1638691, 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)
|
# 1638652, 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)
|
# 1638868, 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)
|
# 1638936, 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)
|
# 1638765, 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)
|
# 1638834, 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)
|
# 1638444, 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)
|
# 1638822, 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)
|
# 1638514, 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)
|
# 1640071, 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)
|
# 1638583, 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)
|
# 1638533, 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)
|
# 1638752, 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)
|
# 1638759, 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)
|
# 1638665, 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)
|
# 1639197, 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)
|
# 1638589, 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)
|
# 1638808, 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)
|
# 1638727, 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)
|
# 1638857, 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)
|
# 1638516, 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)
|
# 1638632, 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)
|
# 1638469, 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)
|
# 1638690, 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)
|
# 1638694, 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)
|
# 1638811, 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)
|
# 1638791, 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)
|
# 1638751, 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)
|
# 1638599, 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)
|
# 1638867, 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)
|
# 1638778, 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)
|
# 1638664, 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)
|
# 1638586, 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)
|
# 1638742, 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)
|
# 1638813, 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)
|
# 1638844, 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)
|
# 1638931, 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)
|
# 1638814, 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)
|
# 1638403, 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)
|
# 1638593, 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)
|
# 1638880, 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)
|
# 1638717, 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)
|
# 1638904, 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)
|
# 1638598, 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)
|
# 1638483, 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)
|
# 1639216, 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)
|
# 1638718, 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)
|
# 1638767, 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)
|
# 1638731, 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)
|
# 1638504, 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)
|
# 1638687, 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)
|
# 1638423, 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)
|
# 1638462, 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)
|
# 1638595, 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)
|
# 1639655, 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)
|
# 1638701, 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)
|
# 1638623, 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)
|
# 1638418, 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)
|
# 1638670, 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)
|
# 1638996, 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)
|
# 1638634, 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)
|
# 1638776, 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)
|
# 1638743, 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)
|
# 1638877, 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)
|
# 1638707, 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)
|
# 1638466, 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)
|
# 1638654, 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)
|
# 1638530, 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)
|
# 1638570, 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)
|
# 1638713, 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)
|
# 1638698, 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)
|
# 1638592, 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)
|
# 1638894, 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)
|
# 1638893, 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)
|
# 1638689, 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)
|
# 1638911, 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)
|
# 1639114, 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)
|
# 1638495, 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)
|
# 1639243, 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)
|
# 1639099, 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)
|
# 1638888, 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)
|
# 1638905, 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)
|
# 1638620, 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)
|
# 1638772, 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)
|
# 1638748, 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)
|
# 1639461, 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)
|
# 1638529, 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)
|
# 1638934, 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)
|
# 1638647, 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)
|
# 1638750, 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)
|
# 1638448, 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)
|
# 1638613, 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)
|
# 1638760, 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)
|
# 1638553, 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)
|
# 1640689, 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)
|
# 1638885, 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)
|
# 1638492, 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)
|
# 1638788, 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)
|
# 1638550, 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)
|
# 1638631, 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)
|
# 1640996, 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)
|
# 1638442, 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)
|
# 1638757, 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)
|
# 1638518, 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)
|
# 1638678, 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)
|
# 1638489, 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)
|
# 1638398, 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)
|
# 1640257, 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)
|
# 1638431, 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)
|
# 1638471, 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)
|
# 1638421, 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)
|
# 1638596, 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)
|
# 1638637, 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)
|
# 1638628, 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)
|
# 1638627, 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)
|
# 1639095, 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)
|
# 1638692, 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)
|
# 1638429, 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)
|
# 1638606, 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)
|
# 1638708, 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)
|
# 1638399, 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)
|
# 1638430, 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)
|
# 1638833, 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)
|
# 1638422, 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)
|
# 1638696, 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)
|
# 1638513, 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)
|
# 1638515, 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)
|
# 1638436, 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)
|
# 1638402, 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)
|
# 1638644, 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)
|
# 1638789, 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)
|
# 1638479, 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)
|
# 1638477, 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)
|
# 1638608, 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)
|
# 1638443, 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)
|
# 1638440, 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)
|
# 1638497, 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)
|
# 1638615, 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)
|
# 1638832, 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)
|
# 1638409, 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)
|
# 1638604, 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)
|
# 1638688, 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)
|
# 1638420, 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)
|
# 1638478, 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)
|
# 1641634, 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)
|
# 1638494, 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)
|
# 1638432, 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)
|
# 1638769, 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)
|
# 1638677, 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)
|
# 1638520, 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)
|
# 1638447, 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)
|
# 1638414, 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)
|
# 1638390, 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)
|
# 1638511, 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)
|
# 1638419, 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)
|
# 1638480, 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)
|
# 1638467, 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)
|
# 1638410, 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)
|
# 1638669, 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)
|
# 1638721, 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)
|
# 1638394, 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)
|
# 1638625, 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)
|
# 1638549, 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)
|
# 1638412, 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)
|
# 1638809, 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)
|
# 1638395, 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)
|
# 1638392, 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)
|
# 1638524, 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)
|
# 1638538, 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)
|
# 1638886, 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)
|
# 1638709, 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)
|
# 1638560, 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)
|
# 1639044, 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)
|
# 1638641, 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)
|
# 1638572, 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)
|
# 1638463, 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)
|
# 1638491, 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)
|
# 1638693, 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)
|
# 1638805, 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)
|
# 1638761, 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)
|
# 1638901, 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)
| # 1638957, 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)
| # 1639056, 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)
| # 1639062, 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)
| # 1639151, 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)
| # 1639181, 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)
| # 1639347, 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)
| # 1639356, 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)
| # 1639489, 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)
| # 1639559, 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)
| # 1639581, 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)
| # 1639588, 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)
| # 1641429, 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)
| # 1641436, 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)
|
# 1638630, 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)
| # 1638883, 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)
| # 1639068, 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)
| # 1639634, 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)
| # 1639794, 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)
| # 1639798, 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)
| # 1639804, 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)
| # 1640529, 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)
| # 1641769, 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)
| # 1642306, 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)
| # 1642318, 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)
| # 1642330, 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)
| # 1642348, 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)
|
# 1639030, 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)
| # 1639459, 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)
| # 1639522, 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)
| # 1639663, 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)
| # 1639793, 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)
| # 1639836, 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)
| # 1639868, 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)
| # 1639905, 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)
| # 1641578, 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)
|
# 1639713, 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)
| # 1639783, 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)
| # 1639802, 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)
| # 1639884, 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)
| # 1639929, 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)
| # 1639934, 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)
| # 1639943, 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)
| # 1639992, 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)
| # 1639997, 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)
|
# 1639499, 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)
| # 1640126, 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)
| # 1640309, 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)
| # 1640687, 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)
| # 1640768, 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)
| # 1642032, 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)
| # 1642169, 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)
| # 1642338, 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)
|
# 1639206, 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)
| # 1639695, 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)
| # 1639951, 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)
| # 1640004, 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)
| # 1640059, 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)
| # 1640069, 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)
| # 1640097, 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)
|
# 1640033, 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)
| # 1641478, 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)
| # 1641503, 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)
| # 1641567, 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)
| # 1641604, 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)
| # 1641627, 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)
| # 1641664, 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)
|
# 1638561, 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)
| # 1638629, 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)
| # 1638657, 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)
| # 1638703, 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)
| # 1638873, 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)
| # 1639003, 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)
|
# 1638783, 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)
| # 1639065, 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)
| # 1639103, 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)
| # 1639152, 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)
| # 1639236, 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)
| # 1641561, 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)
|
# 1640246, 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)
| # 1640486, 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)
| # 1640502, 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)
| # 1640516, 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)
| # 1640779, 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)
| # 1640789, 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)
|
# 1638723, 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)
| # 1638774, 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)
| # 1638986, 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)
| # 1639157, 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)
| # 1640455, 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)
|
# 1638826, 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)
| # 1638920, 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)
| # 1639362, 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)
| # 1639371, 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)
| # 1639379, 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)
|
# 1639441, 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)
| # 1639475, 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)
| # 1639545, 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)
| # 1639556, 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)
| # 1639570, 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)
|
# 1638617, 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)
| # 1641647, 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)
| # 1641973, 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)
| # 1642028, 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)
| # 1642205, 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)
|
# 1638507, 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)
| # 1638842, 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)
| # 1638881, 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)
| # 1638891, 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)
| # 1641590, 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)
|
# 1639159, 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)
| # 1639289, 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)
| # 1639835, 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)
| # 1639860, 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)
| # 1639895, 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)
|
# 1638473, 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)
| # 1638968, 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
| # 1638979, 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)
| # 1641186, 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)
|
# 1638685, 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)
| # 1638960, 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)
| # 1640340, 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)
| # 1640838, 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)
|
# 1638756, 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)
| # 1638971, 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)
| # 1639119, 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)
| # 1639222, 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)
|
# 1638874, 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)
| # 1639020, 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)
| # 1639127, 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)
|
# 1638938, 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)
| # 1639919, 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)
| # 1640610, 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)
|
# 1638942, 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)
| # 1639077, 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)
| # 1639087, 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)
|
# 1638484, 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)
| # 1640650, 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)
| # 1640660, 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)
|
# 1638594, 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)
| # 1642405, 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)
| # 1642429, 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)
|
# 1638735, 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)
| # 1639264, 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)
| # 1642367, 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)
|
# 1638435, 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)
| # 1642095, 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)
| # 1642114, 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)
|
# 1638981, 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)
| # 1640630, 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)
|
# 1638506, 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)
| # 1638526, 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)
|
# 1638722, 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)
| # 1640556, 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)
|
# 1639369, 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)
| # 1639435, 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)
|
# 1640886, 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)
| # 1640909, 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)
|
# 1639032, 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)
| # 1639097, 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)
|
# 1638807, 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)
|
# 1638673, 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)
|
# 1640180, 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)
|
# 1639200, 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)
|
# 1638540, 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)
|
# 1638906, 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)
|
# 1638798, 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)
|
# 1638897, 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)
|
# 1638739, 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)
|
# 1638566, 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)
|
# 1639191, 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)
| # 1639421, 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)
| # 1639433, 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)
| # 1639484, 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)
| # 1639510, 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)
| # 1639528, 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)
| # 1639533, 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)
| # 1641780, 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)
| # 1641906, 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)
| # 1641916, 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)
| # 1641958, 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)
| # 1641968, 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)
|
# 1638649, 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)
| # 1638758, 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)
| # 1638797, 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)
| # 1638810, 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)
|
# 1639241, 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)
| # 1640957, 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)
|
# 1638903, 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)
| # 1639899, 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)
|
# 1638941, 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)
|
# 1641125, 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)
|
# 1639797, 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)
|
# 1638725, 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)
| # 1638895, 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)
| # 1638913, 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)
| # 1638955, 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)
| # 1639008, 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)
| # 1639024, 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)
| # 1639033, 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)
| # 1639100, 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)
| # 1639131, 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)
| # 1639182, 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)
| # 1639743, 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)
| # 1639807, 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)
| # 1639949, 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)
| # 1640022, 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)
| # 1640082, 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)
| # 1640095, 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)
| # 1641249, 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)
| # 1641333, 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)
| # 1641357, 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)
| # 1641398, 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)
| # 1641409, 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)
| # 1641511, 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)
| # 1641540, 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)
| # 1641607, 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)
| # 1641655, 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)
| # 1641673, 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)
| # 1641702, 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)
| # 1642335, 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)
| # 1642364, 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)
|
# 1640010, 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)
| # 1640489, 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)
| # 1640617, 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)
| # 1641232, 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)
| # 1641269, 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)
| # 1641377, 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)
| # 1641532, 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)
| # 1642170, 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)
| # 1642190, 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)
| # 1642197, 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)
| # 1642231, 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)
| # 1642259, 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)
| # 1642290, 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)
|
# 1639098, 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)
| # 1639321, 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)
| # 1639550, 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)
| # 1639628, 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)
|
# 1641846, 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)
|
# 1640578, 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)
| # 1640600, 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)
| # 1640616, 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)
|
# 1639295, 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)
| # 1639969, 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)
| # 1640508, 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)
|
# 1639161, 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)
|
# 1638907, 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)
|
# 1639116, 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)
| # 1639742, 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)
| # 1641033, 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)
|
# 1639827, 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)
| # 1640191, 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)
| # 1640659, 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)
|
# 1641335, 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 : | # 1641338, 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 : |
# 1642230, 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)
| # 1642425, 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)
|
# 1638802, 2022-09-24 09:15:21, ------ (0%) a = input() |
# 1641370, 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))
|
# 1642458, 2022-09-24 10:38:57, xxxxxx (0%) ytjtyjty |