#include<iostream> using namespace std; int main(void) { int day; cin>>day; cout<<day/365<<" ano(s)"<<endl<<day%365/30<<" mes(es)"<<endl<<day%365%30<<" dia(s)"<<endl; return 0; }