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.|

RGB7301 - Ахмад орны цифр

Өгөгдсөн натурал тооны ахмад орны цифрийг ол. 

Input

n натурал тоо өгөгдөнө. (n<=10^6).

Output

Ахмад орны цифр болох нэг цифр байна.

Example

Input:
1234
Output:
1

Нэмсэн:Bataa
Огноо:2013-01-08
Хугацааны хязгаарлалт: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
2022-04-05 08:44:24
#include <iostream>
using name space std;
int main ()
{ //doosho guulge














































ich chi





















































































































































































gol ni oilgoj huulyoo
































































































za huulooo
2022-04-05 08:43:55
orgil gay wahahah
2022-04-01 04:57:37
haana
2022-04-01 04:57:26
orgil llr gomotjiin
2022-04-01 04:57:10
gay orgil
2022-03-28 10:12:48
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
while(n>10){
n=n/10;
}
cout<<n;
}
2022-03-25 17:06:33
#include<iostream>
using namespace std;
int main(){
int a, b;
cin >> a;

while(0 < a) {
b = a % 10;
a = a / 10;
}

cout << b ;
} // Miki Na
2022-03-25 13:08:50
hentii negdguerr surguuli gang yeaaaaa wahaha
2022-03-25 13:08:25
orgil ysi psdakuda
2022-03-15 08:08:21
orgil yanhan
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.