#include <iostream>
using namespace std;
int main() {
int x[3];
int s = 0;
for (int i = 0; i < 3; i++) {
cin >> x[i];
if (x[i] > 0) {
s += x[i];
}
cout << s;
return 0;