#include<iostream>using namespace std;int main(){ unsigned n; cout<<"n= ";cin>>n; if((n<13)&&(n>0)) switch(n){ case 1:cout<<"12 anterioara si 2 viitoare";break; case 12: cout<<"11 anterioara si 1 viitoare";break; default:cout<<"Luna anterioara: "<<n-1<<" "<<"iar cea viitoare: "<<n+1; }
return 0;}