﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _6.Math_Power
{
    class Program
    {
        static void Main(string[] args)
        {
            var n = double.Parse(Console.ReadLine());
            var pow = double.Parse(Console.ReadLine());

            Console.WriteLine(Math.Pow(n, pow));
        }
    }
}
