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