#!/usr/bin/env python
# coding: utf-8

# In[3]:


#question 15
x=int(input("1st number"))
y=int(input("2nd number"))
z=int(input("3rd number"))
p=1
for i in range(y+z):
    p*=x
print(p)    


# In[ ]:




