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

RGB7007 - Сүүлийн цифр

Өгөдсөн тооны сүүлийн цифрийг ол.

Input

Бүхэл тоо өгөгдөнө. Int төрөл.

Output

Сүүлийн цифр.

Example

Input:
476
Output:
6

Нэмсэн:Bataa
Огноо:2011-05-10
Хугацааны хязгаарлалт: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
2023-09-25 17:05:34
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin>>a;
b=a%10;
cout<<b<<endl;
}
2023-05-16 05:33:42
https://www.youtube.com/watch?v=G8RY_XOqJf4&list=RDG8RY_XOqJf4&start_radio=1
https://www.youtube.com/watch?v=Bqf7SbTBERg
2023-02-28 14:12:32
ez boyyyyy
2022-11-08 05:38:51
#include<iostream>//y=4x2-3x+5
using namespace std;
int main(){
int a,b;
cin>>a;
b=a%10;
cout<<b<<endl;
}
2022-11-07 02:57:17
im mike tyson ahahahah
2022-10-27 02:40:38
#include<stdio.h>
int main(){
int x,y;
scanf("%d",&x);
y=4*x*x-3*x+5;
printf("%d",y);
return 0;
}
2022-10-25 10:39:03
#include<bits/stdc++.h>
using namespace std;
int main(){
int y,x;
cin>>x;
y=x%100%10;
cout<<y<<endl;
}


2022-10-16 08:13:11
#include <cstdio>
int main(){
int a,b;
scanf("%d",&a);
b=a%10;
printf("%d",b);
}huul2 wuahah
2022-10-16 08:13:11
#include <cstdio>
int main(){
int a,b;
scanf("%d",&a);
b=a%10;
printf("%d",b);
}huul2 wuahah
2022-09-30 05:22:28
#include <cstdio>
int main(){
int a,b;
scanf("%d",&a);
b=a%10;
printf("%d",b);
} suguda hhul2 shivshg ve
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.