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

RGB7010 - 3 оронтой тоо

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

Input

3 оронтой эерэг тоо өгөгдөнө.

Output

Цифрүүдийн нийлбэр.

Example

Input:
123
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-12-26 09:02:30
wassup niggers
2023-11-27 06:26:39
#include<bits/stdc++.h>
using namespace std;
int main(){
long a, b;
cin>>a;
b=(a/100)+(a/10%10)+(a%10%10);
cout<<b;
}
2023-11-21 07:25:28



































































































































































































































































































































































































































































2023-10-27 05:04:05
#include<bits/stdc++.h>
using namespace std;
int main(){
int a, b, c, d, s, f;
cin>>a;
c=a/10;
d=a%10;
s=c/10;
b=c%10;
f=s+d+b;
cout<<f<<endl;
} ene
2023-10-20 07:34:05
AMRAA WANT ENEREL

Last edit: 2023-10-20 07:39:54
2023-09-25 17:13:17
#include<bits/stdc++.h>
using namespace std;
int main(){
int a, b, c, d, s, f;
cin>>a;
c=a/10;
d=a%10;
s=c/10;
b=c%10;
f=s+d+b;
cout<<f<<endl;
}
2023-04-18 09:56:46
he Hog Rider is a fast ground troop with medium hit points, low damage, and the ability to jump over enemy Walls. He is unlocked at level 2 Dark Barracks.
The Hog Rider (person) is a bare-chested dark-skinned man holding a hammer. He has a Mohawk, wears a brown leather loincloth, a red belt, and a pair of leather sandals, as well as two large golden wristbands and a gold earring.
2023-04-18 09:55:36
erdemtugs will always have batga
2023-04-18 09:55:19
indra has a crush on orgil
2023-04-18 09:54:53
he Hog Rider is a fast ground troop with medium hit points, low damage, and the ability to jump over enemy Walls. He is unlocked at level 2 Dark Barracks.
The Hog Rider (person) is a bare-chested dark-skinned man holding a hammer. He has a Mohawk, wears a brown leather loincloth, a red belt, and a pair of leather sandals, as well as two large golden wristbands and a gold earring.

Last edit: 2023-04-18 09:57:25
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.