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