Power of Cryptography

题意翻译

$k^n=p$,输入 $n,p$ ,求 $k$ 。 输入若干行数据,其中一行为 $n$($1\le n\le 100$),一行为 $p$($1\le p\lt 10^{101}$)。 输出若干行 $k$ ,要求每个数据间要回车换行。

题目描述

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=49 [PDF](https://uva.onlinejudge.org/external/1/p113.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA113/ad5da255ca2d2cfd729a6dc4d6eeea20891ba112.png)

输入输出格式

输入格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA113/a96f32f651edb4f26c047f563821ef85c8eba9f0.png)

输出格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA113/8a7bc04234662098a3594514c3c2431b84c61c32.png)

输入输出样例

输入样例 #1

2
16
3
27
7
4357186184021382204544

输出样例 #1

4
3
1234