#! /usr/bin/python

def outter(x, y):
	def inner(a = x, b = y):
		return a ** b
	return inner
	
f = outter(2, 3)
print f
print f()

def outter1(x, y):
	def inner1(a = x, b = y):
		return a ** b
	return inner1()
	
f = outter1(2, 3)
print f

def jc(x):
	print x
	if x: jc(x - 1)
	
jc(3)