提交时间:2026-05-04 14:35:09

运行 ID: 439036

#include <iostream> using namespace std; int main(){ int d; cin>>d; int r=(d+2-1)%7+1; cout<<r; return 0; }