=====Problem Statement=====
Integers in Python can be as big as the bytes in your machine's memory. There is no limit in size as there is: 2^31 - 1 (c++ int) or 2^63 - 1 (C++ long long int).
As we know, a^b the result of grows really fast with increasing b.
Let's do some calculations on very large integers.
Task
Read four numbers, a, b, c, and d, and print the result of a^b + c^d.

=====Input Format=====
Integers a, b, c, and d are given on four separate lines, respectively.

=====Constraints=====
1≤a≤1000
1≤b≤1000
1≤c≤1000
1≤d≤1000

=====Output Format=====
Print the result of a^b + c^d on one line.

Difficulty: introductory

Starter code:

# Enter your code here. Read input from STDIN. Print output to STDOUT

Solutions:
# Enter your code here. Read input from STDIN. Print output to STDOUT
a=int(input())
b=int(input())
c=int(input())
d=int(input())
print((pow(a,b)+pow(c,d)))


#!/usr/bin/env python3

def __starting_point():
    a = int(input().strip())
    b = int(input().strip())
    c = int(input().strip())
    d = int(input().strip())
    
    print(pow(a, b) + pow(c, d))
__starting_point()