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

RGB7303 - Тэгш цифрүүдийн нийлбэр

Өгөгдсөн тоон дахь тэгш цифрүүдийн нийлбэрийг ол.

Input

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

Output

Тэгш цифрүүдийн нийлбэр.

Example

Input:
34567

Output:
10

Нэмсэн:Bataa
Огноо:2013-01-09
Хугацааны хязгаарлалт: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
2020-09-14 15:49:22
in the day time i am marinate just a normal girl with a normal life but there is something about me then no one knows it cuz i have secret miricules simply the best i do the test when things go wrong. miricules the lucky charm.
2020-08-14 04:01:48
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
2020-08-14 03:59:25
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
2020-06-29 09:26:20
easy bodlogo bailaa
2019-12-21 07:23:57
#include "pch.h"
#include <iostream>
using namespace std;
int main()
{
int a;
cin >> a;
int d = 0;
int e = 0;
while (a > 1)
{
d = (a % 10);
if (d % 2 == 0)
{
e = (e + d);
}
a = (a / 10);
}
cout << e << endl;
return 0; // easy peasy bodlogo bailaa
}
2019-12-17 08:50:34
#include<bits/stdc++.h>
using namespace std;

int main(){
int n,a,b,s=0;
cin>>n;

while(0<n)
{
a=n%10;
n=n/10;
if(a%2==0)
s=s+a;
}
cout<<s;
}
_i'm Jack_
2019-12-09 07:31:38
#include <iostream>
using namespace std;

int main() {

int x;
int i=0;
cin>>x;
while(x>0){
if((x%10)%2==0){
i=i+x%10;
}

x=x/10;
}
cout<<i;

return 0;
}
2019-12-03 08:04:26
#include <iostream>
using namespace std;
int main()
{
int a,s=0;
cin>>a;
while(a>0)
{
if(a%2==0) s=s+a%10;
a/=10;
}
cout<<s;
}
2019-11-16 07:41:06










































































































































2019-11-16 07:40:50
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,s=0;
cin>>a;
while(a>0){
if(a%2==0) s=s+a%10;
a/=10;
}
cout<<s;
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.