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

RGB7107 - Тэгш тоонуудын нийлбэр

Өгөгдсөн 3 тоон дахь тэгш тоонуудын нийлбэрийг ол. Ядаж 1 тэгш тоо бий. 

Input

Нэг мөрөнд Int төрлийн 3 тоо зайгаар тусгаарлагдан өгөгдөнө.

Output

Нийлбэр

Example

Input:
10 3 5
Output:
10

Нэмсэн:Bataa
Огноо:2011-05-24
Хугацааны хязгаарлалт:0.202s
Эх кодын хэмжээний хязгаарлалт: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
2024-05-08 10:19:29
#include <iostream>
using namespace std;

int main() {

int a,b,c;
cin>>a>>b>>c;
int s = 0;
s += (a%2==0 ? a : 0);
s += (b%2==0 ? b : 0);
s += (c%2 == 0 ? c : 0);
cout<<s;
return 0;
}
2024-04-23 03:30:43
There's a hundred miles from you and I
And so many signs to forget you
And though I might be wrong
And though I write shit songs
I know it won't be long 'til I see you
Sorry but I just can't stop liking you
I hope these other guys won't see you
Oh, so pretty like I do
Please don't break my heart
It's hard enough to heal arteries without glue
I'll see it through if you're down to
I'll see you soon 'cause I miss you
I might go too high though, I'm typing all these typos
'Cause you're the sight I see when I'm falling off of my tightrope
And you're the life that flashes through my eyes when I will die
So I apologize, it's kinda hard for me to lose what I know
And I won't go too low, but you're as far as Pluto
A hundred sixty-three thousand six hundred yards from my home
And I hope that you don't get bored of me or my clothes
I'm kinda broke but making dough from all the songs that I wrote
Sorry but I just can't stop liking you
I hope these other guys won't see you
Oh, so pretty like I do
Please don't break my heart
It's hard enough to heal arteries without glue
I'll see it through if you're down to
I'll see you soon 'cause I miss you
I know I might seem childish writing all of these songs
I've wrote hundreds 'bout our love and staying strong
Though it won't be too long righting all of my wrongs
Know I'm on my way if you think something's off
Sorry but I just can't stop liking you (da-da-da-da-da-da)
I hope these other guys won't see you
Oh, so pretty like I do
Please don't break my heart
It's hard enough to heal arteries without glue (da-da-da-da-da-da)
I'll see it through if you're down to (da-da, da-da-da-da)
I'll see you soon 'cause I miss you
2024-04-23 03:28:17
Things weren't ever meant to end this way
I know I fucked it up enough, what can I say?
I'm sorry, I can't seem to make you stay
I promise I won't put you through that pain
I wanna be contigo, but you're not in love with me, so
All of this love turns me cold, enough to turn away
Yeah, I wanna be contigo more than I wanna be free
If that's okay, and I don't wanna make you go
But what more is there to chase?
Contigo, what's that really mean, though?
Giving you attention every second buying Cheetos
Kilos, bragging to my mama and el chicos
No, this won't take one night (duh, ayy)
I know it's all my fault for bouncing off the walls
I would say I'm free, then I would miss your calls
Spending dumb amounts and losing count of my "sorry"s
You'd be crying all night, I know
I wanna be contigo, you're not in love with me, so
All of this love turns me cold, enough to turn away
I wanna be contigo more than I wanna be free
If that's okay, and I don't wanna make you go
But what more is there to chase?
Yeah, I'm falling in and out of sleep, I don't seem to see
Sheep, and I don't clean the sheets, I'm falling seamlessly
We don't need to be repeating all our fantasies
I'm falling for the beat, tryna figure how to breathe
But they never taught me how surfing through the clouds
Speak loud enough about being here and now
Never thought that I would ever get to hear the crowd
Ground's hitting now, guess I wasn't ever found
Oh no, you got me stressed out
Looks like I won't be getting rest now
And I'm home, but my head's living in clouds
Never liked my hometown, never got to get loud
And I hope you'll come around soon
I know, you think of me too
There's no need for you to be rude
Wanna be with you
I wanna be contigo, but you're not in love with me so
All of this love turns me cold, enough to turn away
Yeah, I wanna be contigo more than I wanna be free
If that's okay, and I don't wanna make you go
But what more is there to chase?
2024-04-23 03:27:32
#include <iostream>
using namespace std;
int main()
{
int a, b,c,d,e=0;
cin>>a>>b>>c>>d;
if(a%2==0) e=e+a;
if(b%2==0) e=e+b;
if(c%2==0) e=e+c;
if(d%2==0) e=e+d;
cout<<e<<endl;
return 0;
}
2024-04-23 02:59:48
Where have you been?
Do you know when you're coming back?
'Cause since you've been gone
I've got along but I've been sad
… I tried to put it out for you to get
Could've, should've but you never did
Wish you wanted it a little bit
More but it's a chore for you to give
… Where have you been?
Do you know if you're coming back?
… We were too close to the stars
I never knew somebody like you, somebody
Falling just as hard
I'd rather lose somebody than use somebody
Maybe it's a blessing in disguise (I sold my soul for you)
I see my reflection in your eyes
… I know you're sick
Hoping you fix whatever's broken
Ignorant bliss
And a few sips might be the potion
… I tried to put it out for you to get
Could've, should've but you never did
Wish you wanted it a little bit
More but it's a chore for you to give
… Where have you been?
Do you know if you're coming back?
… We were too close to the stars
I never knew somebody like you, somebody
Falling just as hard
I'd rather lose somebody than use somebody
Maybe it's a blessing in disguise (I sold my soul for you)
I see my reflection in your eyes (tell me you see it too)
… So close, so close
Yet so far away (so far)
I don't know (I don't)
How to be solo (no)
So don't go, oh, no, just stay
You and I were bright, shooting through the sky daily (yeah)
Lighting up the night, wasn't always right, baby (mm-hmm)
Yeah, every time that we realized it's crazy
And you save me
… We were too close to the stars
I never knew somebody like you, somebody
Falling just as hard
I'd rather lose somebody than use somebody
Maybe it's a blessing in disguise (I sold my soul for you)
I see my reflection in your eyes (I sold my soul for you, I know you see it too)
… Yeah, I brought same ones too
I know you're tired, I know you're tired
Just say it, I agree with you
Sick of all the poison in me
What did I do wrong for me, babe?
Uh, I see myself in you, I see myself in you, baby
I see myself in you, alright
I see myself in you, maybe you should too
2024-04-23 02:59:11
#include <iostream>
using namespace std;

int main() {

int a,b,c;
cin>>a>>b>>c;
int s = 0;
s += (a%2==0 ? a : 0);
s += (b%2==0 ? b : 0);
s += (c%2 == 0 ? c : 0);
cout<<s;
return 0;
}#include <iostream>
using namespace std;

int main() {

int a,b,c;
cin>>a>>b>>c;
int s = 0;
s += (a%2==0 ? a : 0);
s += (b%2==0 ? b : 0);
s += (c%2 == 0 ? c : 0);
cout<<s;
return 0;
}#include <iostream>
using namespace std;

int main() {

int a,b,c;
cin>>a>>b>>c;
int s = 0;
s += (a%2==0 ? a : 0);
s += (b%2==0 ? b : 0);
s += (c%2 == 0 ? c : 0);
cout<<s;
return 0;
}#include <iostream>
using namespace std;

int main() {

int a,b,c;
cin>>a>>b>>c;
int s = 0;
s += (a%2==0 ? a : 0);
s += (b%2==0 ? b : 0);
s += (c%2 == 0 ? c : 0);
cout<<s;
return 0;
}#include <iostream>
using namespace std;

int main() {

int a,b,c;
cin>>a>>b>>c;
int s = 0;
s += (a%2==0 ? a : 0);
s += (b%2==0 ? b : 0);
s += (c%2 == 0 ? c : 0);
cout<<s;
return 0;
}
2024-04-23 02:58:48
Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus Milk Sus
2024-02-28 06:46:12
numbers = list(map(int,input().split())
ans=0
for i in range(len(numbers)):
if numbers[i]%2 == 0:
ans+=numbers[i]

print(ans)

2024-02-22 07:27:11
huja bodlogo
2024-01-23 08:27:40
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
hj int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
hg int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
int a,b,c,m=0;
scanf("%d %d %d",&a,&b,&c);
if(a%2==0) m+=a;
if(b%2==0) m+=b;
if(c%2==0) m+=c;
printf("%d\n",m);
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.