by CodeChum Admin
Now this one's a tad bit tricky, but you can definitely do it!
Instructions:
Input
A line containing five integers separated by a space.
1·2·3·4·5
Output
A line containing an integer.
4084101
numbers = [int(i) for i in input().split()]
s1_2 = numbers[0] + numbers[1]
s3_4 = numbers[2] + numbers[3]
res = (s1_2*s3_4)**numbers[4]
print(res)
Comments
Leave a comment