U420452 牢大我想你了!!!!!

题目背景

**2020年1月26日**,我们的篮球巨星 _**科比 ·布莱恩特**_ (~~牢大~~)不幸在一次飞行中坠机遇难,令万千球迷悲痛不已……在生前,我们的牢大留下了这道编程题目,据说此题的答案具有 _**复活牢大** 的力量 ! ! !_ ###### (以下是题目原文)

题目描述

Hello fans, everyone! Thank you for coming to the overseas version of _Luogu_ and following my topic! My question includes two algorithms: **square** and **square root**, which require you to perform such operations!!!

输入格式

Enter a number $n$ to indicate whether the next step requires square operation " _**1**_ " or open radical operation " **_2_** " , and then input another number to perform the operation represented by $n$ . But **remember: output " _-1_ " for other situations.**

输出格式

Output the result of the operation.

说明/提示

### *Answer to the question:* [ _**题解视频参见此处**_ ](https://www.bilibili.com/video/BV1P14y147Mb/) ------------ ### *Note:* This question may contain " _**special examples**_ ", with a score of **10 points**. The output can **only be** within the _range of $int$_ integers. ------------ ### *Upd:* _2024/11/22:_ 修订 $\LaTeX$ 、$Markdown$ 细节错误并更改为 $ICPC$ 赛制。 _2024/11/23:_ 修订题面并新增数据及更改分数配比与空间、时间限制。 _2024/11/24:_ 修订版面及不当用词。