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-11-23 17:12:53
#include <iostream>
using namespace std;

int main()
{
int n,i,s;
cin >> n;
i = n;
for(i=n;i>=10;i=i/10);
cout<<i;
}
//emeemoa MAOU bodov!!!
2022-11-18 02:59:23
Rick Astley - Never Gonna Give You Up (Official Music Video)
2022-11-17 07:03:58
ku 2 dulgoon huul
hangunt ch gsn

Last edit: 2022-11-17 07:04:50
2022-11-17 06:45:08
suwdaa arhia bo;icho mni nza
2022-11-16 05:52:51
#include<bits/stdc++.h> //Barigdsa
using namespace std;
int main(){
long n,s,a;
s=0;
cin>>n;
while (n>0){
a=n%10;
s=s+a;
n=n/10;
}
cout<<s<<endl;
}
2022-11-16 05:51:15
onh onh yamate nigasss


Last edit: 2022-11-16 05:52:17
2022-11-16 05:31:25
hj

Last edit: 2022-11-16 05:47:22
2022-11-16 05:31:18
But you didn't have to cut me off
Make out like it never happened and that we were nothing
And I don't even need your love
But you treat me like a stranger, and that feels so rough
No, you didn't have to stoop so low
Have your friends collect your records and then change your number
I guess that I don't need that, though
Now you're just somebody that I used to know
Now you're just somebody that I used to know
Now you're just somebody that I used to know
2022-11-16 05:31:05
But you didn't have to cut me off
Make out like it never happened and that we were nothing
And I don't even need your love
But you treat me like a stranger, and that feels so rough
No, you didn't have to stoop so low
Have your friends collect your records and then change your number
I guess that I don't need that, though
Now you're just somebody that I used to know
Now you're just somebody that I used to know
Now you're just somebody that I used to know
But you didn't have to cut me off
Make out like it never happened and that we were nothing
And I don't even need your love
But you treat me like a stranger, and that feels so rough
No, you didn't have to stoop so low
Have your friends collect your records and then change your number
I guess that I don't need that, though
Now you're just somebody that I used to know
Now you're just somebody that I used to know
Now you're just somebody that I used to knowBut you didn't have to cut me off
Make out like it never happened and that we were nothing
And I don't even need your love
But you treat me like a stranger, and that feels so rough
No, you didn't have to stoop so low
Have your friends collect your records and then change your number
I guess that I don't need that, though
Now you're just somebody that I used to know
Now you're just somebody that I used to know
Now you're just somebody that I used to know
2022-11-11 03:20:22
https://www.youtube.com/watch?v=dQw4w9WgXcQ
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.