What exactly is ComputeExponentation and the modular version doing?

The ComputeExponentation raise a base number to power of exponent and the modulus version does % after the compute exponentiation.


Sample Input
2
3
5
6
7

Sample Output
Prime
Prime
Prime
Composite
Prime

Thanks.