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-03-04 03:07:54
eee2 huulhaa boly
2024-02-21 13:41:27
#include <bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin >> s;
cout << s[0];
}
2024-02-20 07:51:43
#include<bits/stdc++.h>
using namespace std;
int main() tsaashaa uursdu hiitsge
2024-02-02 03:34:58
TSETSENGUA

Last edit: 2024-02-02 03:38:40
2024-01-30 05:41:34


Last edit: 2024-01-30 05:41:57
2024-01-18 07:32:23
85956593
2024-01-18 05:26:42

#include <iostream>
using namespace std;

int main() {
int a,b,c,d,n,s=0,r=1,i,davhar,haalga,orts;
cin>>n;
for(;n>9;n=n/10)

cout<<n;
return 0;
}
2024-01-05 08:10:44
hello niggers
2023-12-21 02:28:52
DOOTLIIN HUN HAR NIGGA
2023-12-21 02:28:23
bi eniig bichsen

Last edit: 2023-12-21 02:29:22
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.