#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f,g; cin>>a>>b>>c>>d>>e>>f>>g; cout<<31; return 0; }