text: #include <stdio.h>
  long power(int, int);
  int main()
  {
      int pow, num;
      long result;
  
      scanf("%d", &num); //The number taken as input from test case data
  
      scanf("%d", &pow); //The power is taken from the test case
      result = power(num, pow);
      printf("%d^%d is %ld\n", num, pow, result);
      return 0;
  }
  int res = 1;
  long power(int num, int pow)
  {
      if (pow == 0)
          return res;
      else
      {
          res *= num;
          pow--;
          return power(num, pow);
      }
  }
  