mirror of
https://github.com/tiennm99/CSX101.git
synced 2026-06-05 20:11:59 +00:00
5 lines
144 B
Python
5 lines
144 B
Python
xxx, yy = [int(i) for i in input().split()]
|
|
for i in range(0, xxx + 1):
|
|
if 2*i + 4*(xxx - i) == yy:
|
|
print(i, xxx - i)
|
|
break |