#include<bits/stdc++.h>
using namespace std;
int main(){
   int c,j;
   cin>>c;
   if(c%30==0){
   	j=c/30;
   	cout<<"j";
   } 
   else j=c/30+1;
   cout<<j;
   }
/**************************************************************
	Problem: 1632
	User: tonghuawei
	Language: C++
	Result: Wrong Answer
****************************************************************/