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