Problem:


  MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});

参加者数

選手のみなさん、パソコン甲子園にようこそ。パソコン甲子園では、現在、プログラミング部門、モバイル部門、そして、いちまいの絵ＣＧ部門、計３部門の競技が開催されています。

各部門の参加者数が与えられたとき、参加者の総数を計算するプログラムを作成せよ。

Input

入力は以下の形式で与えられる。

p m c

入力は１行であり、プログラミング部門の参加者数 p (0 ≤ p ≤ 10000)、モバイル部門の参加者数 m (0 ≤ m ≤ 10000)、いちまいの絵ＣＧ部門の参加者数 c (0 ≤ c ≤ 10000) が与えられる。

Output

参加者の総数を１行に出力する。

Sample Input 1

10 10 20

Sample Output 1

40

Sample Input 2

100 0 0

Sample Output 2

100

Sample Input 3

1000 1000 1000

Sample Output 3

3000



Sample input:
10 10 20


Sample output:
40

Submission status: Wrong Answer

Solution code:
while True:
    try:
        a,b,c=map(int,input().split)
        print(a+b+c)
    except:break

Submission status: Accepted

Solution code:
print(sum(list(map(int, input().split()))))

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
print(sum(map(int, input().split())))

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
print(a+b+c)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
print(a+b+c)

Submission status: Accepted

Solution code:
[p, m, c] = [int(num) for num in input().split()]
print(p + m + c)

Submission status: Accepted

Solution code:
def main():
    p,m,c = map(int, input().split())
    print(p + m +c)

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
p,m,c = map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
print(sum(map(int, input().split())))

Submission status: Accepted

Solution code:
print(sum([int(i) for i in input().split(' ')]))

Submission status: Accepted

Solution code:
import sys

l = raw_input().split()
for i in range(0,len(l)):
    l[i] = int(l[i])
print sum(l)

Submission status: Accepted

Solution code:
while True:
    try:
        a,b,c=map(int,input().split())
        print(a+b+c)
    except:break

Submission status: Accepted

Solution code:
a,b,c = input().split()
x = int(a) + int(b) + int(c)
print(x)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
print(a+b+c)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())

x=a+b+c

print(x)

Submission status: Accepted

Solution code:
a,b,c=(int(x) for x in input().split())

print(a+b+c)

Submission status: Accepted

Solution code:
print(sum(map(int,input().split())))

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split());print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c =map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c = map(int, input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
ans=p+m+c
print(ans)

Submission status: Accepted

Solution code:
p, m, c = map(int, input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

print(a+b+c)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())

print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=(int(x) for x in input().split())

print(p+m+c)

Submission status: Accepted

Solution code:
s =input().split( )
#print (s)
#print(len(s))
b=int(0)
for n in range(len(s)):
    b = b+int(s[n])
print(b)

Submission status: Accepted

Solution code:
p, m, c = map(int,input().split())
print(p + m + c)

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# coding: utf-8
p,m,c = map(int,input().split())

print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=list(map(int,input().split()))
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c = map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=map(int, input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!


p,m,c= map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c = map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
x=p+m+c
print(x)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
print(a+b+c)

Submission status: Accepted

Solution code:
p,m,c = map(int,input().split())
print(p + m + c)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
p,m,c=map(int,input().split())

print(sum((p,m,c)))

Submission status: Accepted

Solution code:
print(sum(list(map(int,input().split()))))

Submission status: Accepted

Solution code:
p,m,c=(int(x) for x in input().split())

if 0<=p<=10000 and 0<=m<=10000 and 0<=c<=10000:
   print(p+m+c)
else:
   pass

Submission status: Accepted

Solution code:
p , m , c = map (int , input() . split())
print( p + m + c)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())

print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c= map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
s=p+m+c
print(s)

Submission status: Accepted

Solution code:
p,m,c  = map(int, input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
a=p+m+c
print(a)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
print(int(p+m+c))

Submission status: Accepted

Solution code:

p,m,c=map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=(int(x) for x in input().split())
print(p+m+c)

Submission status: Accepted

Solution code:

p,c,m=(int(x)for x in input().split())

print(p+c+m)

Submission status: Accepted

Solution code:
p,m,c = map(int,input().split())

print(p+m+c)

Submission status: Accepted

Solution code:
p, m, c =map(int, input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
# 10 10 20 => 分割して、数値に変換する
p, m, c = map(int, input().split())
print(p + m + c)

Submission status: Accepted

Solution code:
import math
a,b,c,=map(int,input().split())
print(a+b+c)

Submission status: Accepted

Solution code:
[p, m, c] = [int(num) for num in input().split()]
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
d=p+m+c
print(d)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
p, m, c = map(int, input().split())
print(p + m + c)

Submission status: Accepted

Solution code:
p, m, c = map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
x=input().split()
y=list(map(int,x))
z=list(map(int,y))
a=y[0]
b=y[1]
c=y[2]
d=a+b+c
print(d)

Submission status: Accepted

Solution code:
p,m,c = map(int,input().split()) 

print(p+m+c)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
p,m,c=map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p, m, c = map(int, input().split())
all = p+m+c
print(all)

Submission status: Accepted

Solution code:
p, m, c = map(int, input().split())
print(p + m + c)

Submission status: Accepted

Solution code:
p , m , c = map(int,input().split())
print( p + m + c )

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
s=p+m+c
print(s)

Submission status: Accepted

Solution code:
l = input().split()
p = int(l[0])
m = int(l[1])
c = int(l[2])
print (p+m+c)

Submission status: Accepted

Solution code:
p,m,c = (int(x) for x in input().split())
print(p + m + c)

Submission status: Accepted

Solution code:
p, m, c = (int(x) for x in input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
x = sum((a,b,c))
print(x)

Submission status: Accepted

Solution code:
P,M,C=map(int,input().split())

print(P+M+C)

Submission status: Accepted

Solution code:
# coding: utf-8

a,b,c = map(int,input().split())
print(a+b+c)

Submission status: Accepted

Solution code:
p , m , c = map(int , input() . split())
print(p + m + c)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
print(a+b+c)

Submission status: Accepted

Solution code:
p, m, c=map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
#coding:utf-8
#Your code here

a,b,c=map(int,input().split())
print(a+b+c)

Submission status: Accepted

Solution code:
p,c,m=map(int,input().split())
print(int(p+c+m))

Submission status: Accepted

Solution code:
P,M,C=map(int,input().split())

print(P+M+C)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

p, m, c = map(int, input().split())
print(p + m + c)

Submission status: Accepted

Solution code:
a = input().split()
b=int(a[0])+int(a[1])+int(a[2])
print(b)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
p,m,c=map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c = map(int,input().strip().split())

print(p + m + c)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(a+b+c)

Submission status: Accepted

Solution code:
p,m,c=input().split()
p=int(p)
m=int(m)
c=int(c)
print(p+m+c)

Submission status: Accepted

Solution code:
p, m, c = map(int, input().split())

print(p + m + c)

Submission status: Accepted

Solution code:
p,m,c = list(map(int, input().split()))

print(sum([p,m,c]))

Submission status: Accepted

Solution code:
import sys
import math
p,m,c=map(int,input().split())
total=p+m+c
print(total)

Submission status: Accepted

Solution code:
x,y,z = list(int(x) for x in input().split())
print(x + y + z)

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
print(sum(a))

Submission status: Accepted

Solution code:
m,f,b=map(int,input().split())
print(m+f+b)

Submission status: Accepted

Solution code:
p, m, c = map(int, input().split())
print(p + m + c)

Submission status: Accepted

Solution code:
p,m,c =map(int,input().split())
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c = map(int,input().split(" "))
print(p+m+c)

Submission status: Accepted

Solution code:
p,m,c=map(int,input().split())
n=p+m+c
print(n)

Submission status: Accepted

Solution code:
a,b,c = [int(i) for i in input().split()]
print(a+b+c)

Submission status: Accepted

Solution code:
print(sum(map(int, input().split())))

Submission status: Runtime Error

Solution code:
print(sum(map(int, input().split()))