/* 测试数据(样例3): 108+109 217 217+110 327 327+111 438 438+112 550 550+113 663 663+114 777 777*52 40404 (自编计算器算的) */ //代码: #include<bits/stdc++.h> using namespace std; int main(){ int n,x,k; cin>>n; int perweek=n/52; for(k=1;k<mz;k++) { x=(perweek-21*k)/7; if(364*x+1092*k==n) { cout<<x<<" "<<k; return 0; } } } //(全WA)