#include using namespace std; constexpr int MONTH=31; constexpr int WEEK=7; constexpr const char *REST="😎"; constexpr const char *LEG="\U000005c0"; constexpr const char *ARM="\U000005c0"; int main(){ int n; cin>>n; vector rest(n),leg(n); for (int i=0; i>s; if (s.find("rest")!=string::npos){ rest[i]=true; } if (s.find("leg")!=string::npos){ leg[i]=true; } } for (int i=0; i<31; i++){ if (i%WEEK==0){ cout<