#include <iostream>
#include <cmath>
#include <string>
#include <vector>
#include <map>
#include <algorithm>

using namespace std;

int main() {
	int n;
	double ans;

	cin >> n;
	ans = n * 3.5;
	cout << ans << endl;
	return 0;
}