#include <iostream> using namespace std; int main() { int long long a, b; cin >> a; b = a / 10; a = 100 * b * (b + 1) + 25; cout << a; return 0; }