#include<iostream>using namespace std;
int main(){ int n; cin >> n; cout<< (n/12)*50+(n%12)*5<<"元"<<endl; return 0; }