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
2019-10-11 08:43:13
8b giihn suga
2019-09-23 14:35:43
.


Last edit: 2019-09-23 14:36:06
2019-09-23 06:46:31
yah bodhuu
2019-03-25 03:15:23
#include <iostream>
using namespace std;
main()
{
int a, b;
cin>>a;
b=a%10;
cout<<("%d", b);
}
2019-02-19 10:14:42
goy yumo
2019-01-15 03:03:14
#include<bits/stdc++.h>
main(){
int a,x;
scanf("%d",&a);
x=a%10;
printf("%d",x);
}
2019-01-04 04:51:34
yaj bodhuu
2018-12-24 04:39:15
ashu
2018-12-24 04:39:15
ashu
2018-12-24 04:39:14
ashu
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.