# https://stepik.org/lesson/265081/step/12?discussion=1513811&thread=solutions&unit=246029
S = 0
a = int(input())
if a > 0:
    S += a

a = int(input())
if a > 0:
    S += a

a = int(input())
if a > 0:
    S += a

print(S)
