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