#40244: c++ ac


yp11251034@yphs.tp.edu.tw (803-38劉宇皓)


#include <iostream>
using namespace std;

int main ()
{
    int n;
    cin >> n;
    cout << (n/12) * 50 + (n % 12) * 5 << endl;
    return 0;
}