#include <ctime>
using namespace std;

int main()
{
    srand((unsigned int)time(NULL));
    cout << rand() % 40 << endl;
    return 0;
}