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