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

# power_n.py

def power(x,n=2):
	s=1
	while n > 0:
		n = n - 1
		s = s * x
	return s

print power(5)	
print power(5,2)
print power(5,3)
print power(10,3)