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