#include int main(void) { int b, s = 0, i; for (i = 0; i < 9; i++) { scanf("%d", &b); s += b; } printf("%d", 55 - s); return 0; }