import java.io.*;
// sqrt, abs and pow are part of the Math class. The class is
// static so we do not need to create an instance of it
class primetest
{public static input in = new input();
public static void main(String[] args) throws IOException
{int n,x;
boolean prime = true;
System.out.println("Enter a number ");
n = in.getInt();
for (x=2; x <= Math.sqrt(n) && prime; x++)
if (n % x == 0)
{System.out.println("Not Prime");
prime = false;
}
if (prime)
System.out.println("Prime");
System.out.println("2 to the 5th power is "+Math.pow(2,5));
System.out.println("Absolute of - 5 is "+Math.abs(-5));
}
}