import std.algorithm, std.array, std.range;
import std.string, std.conv;
import std.math;
import std.stdio, std.typecons;

void main()
{
  auto n = readln.chomp.to!int;
  writefln("%f", 3.5 * n);
}