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
2024-12-18 08:41:49
#include<stdio.h>
int main(){
int a,s;
scanf("%d",&a);
while(a>0){
s=a%10;
a=a/10;
}
printf("%d",s);
return 0;
}


imnandian
2024-12-18 02:16:02
ah ni nutag butsah geed
2024-12-18 02:15:40
ahdaa 500 tugrug hairlaach
2024-12-18 02:15:12
hi lalraa
2024-12-11 07:06:21
chi zugeer zail bi anandad hairtai
2024-12-11 07:05:42
huch golg men
2024-12-11 07:04:37
butsaad ireech bi chmaig huleeseer bgaa shuu
2024-12-11 07:04:13
love u my unurbileg i miss u so much
2024-12-11 07:03:36
olonlog tuv surguulin 6a angiin ishbaljiriin anand muu hogiin cheater buyandelgerteigee zail
2024-12-11 07:02:38
muu cheater anand zail muu novsh
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.