#include <iostream>
#include <fstream>
#include <stdio.h>
#include <algorithm>
#include <string>
#include <cmath>
using ll = long long;
using namespace std;


int main() {

    cin.tie(0);
    ios::sync_with_stdio(false);
 
    ll n, s, t, ans=0;
    cin >> n;
    int tmp[15] = {0,1,3,3,7,7,7,14,22,22,22,33,33,46,60};

    s = n / 15;
    t = n % 15;

    ans = 60*s*s + tmp[t];

    cout << "s:" << s << endl;
    cout << ans << endl;
    cout << 266666333332;

    
}
