Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7318 - Залгаад квадрат зэрэг

Өгөгдсөн натурал тооны бичиглэлийн эх адагт нь 1-ийн цифр залгаж бичээд квадрат зэрэгт дэвшүүл.

Input

Натурал тоо өгөгдөнө.

Output

Натурал тоо

Example

Input :

23

Output:

1515361


Нэмсэн:Bataa
Огноо:2013-01-14
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2020-07-09 15:56:59
n=0 bval gj tootsooroi ene deer aldaad bgaa bh humuus. 11^2, 101^2

Last edit: 2020-07-09 15:58:02
2020-06-27 08:30:47
a

Last edit: 2020-06-28 11:18:23
2020-06-08 05:42:17
hasahaar ni tootsoolood bod
2020-04-26 16:37:23



Last edit: 2020-05-25 09:18:38
2020-04-26 16:28:12


Last edit: 2020-05-25 09:18:46
2020-04-25 14:48:49
#include<iostream>
using namespace std;
int main (){
int n,m,c;
cin>>n;
m=n;
c=10;
while(n>9){
n=n/10;
c=c*10;
}
c=c*10;
m=m*10+1+c;
cout<<m*m;


}
ene code buruu ym baihdaa asvel ene bodlogoo buruu orchuultsan ymuu
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.