n=int(input())
m=int(input())
print(2*(m+n))
Чому в вхідні дані йде тип строка? "3 4"
@denzyve do it with map