#include<bits/stdc++.h> using namespace std; int main(){ int x,y; cin>>x>>y; if(x+y<7) cout<<x+y; else if(x+y==7) cout<<7; else if(x+y>7) cout<<(x+y)%7; return 0; } 样例都过了,只有90分!