#include using namespace std; int main() { int B; int tmp; tmp = 0; for( int i = 0; i < 9; i++ ) { cin >> B; tmp += B; } cout << 55 - tmp << endl; return 0; }