import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); double num=Double.parseDouble(br.readLine()); br.close(); long y=1; int i; for(i=2;i*i1){ y*=num; } System.out.println(y); } }