#include <bits/stdc++.h> using namespace std; int main(){ int x,h; cin>>x>>h; for(int o=1;o<=h;o++){ if(x=7){ x=1; }else{ x++; } } cout<<x; return 0; }
第一个dalao必关
我太难了