Power of Cryptography#1205

Power of Cryptography

1 second
122.174 megabytes
Very easy

Given two integers n \ge 1 and p \ge 1, determine the positive -th root of . That is, find an integer such that k^n = p.

Input

Two integers and are given (1 \leq n \leq 300, 1 \leq p \leq 10^{100}). It is guaranteed that there always exists an integer (1 \leq k \leq 10^9) such that k^n = p.

Output

Print the value such that k^n = p.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading