a=int(input())
b=int(input())
if (a<0 and b<0) and a>b:
a*=2
b*=2
else:
a+=2
b+=2
print(a,b)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a=int(input())
b=int(input())
if (a<0 and b<0) and a>b:
a*=2
b*=2
else:
a+=2
b+=2
print(a,b)