#include int main(void) { int n; double ans; scanf("%d",&n); ans = 3.5 * n; if (n%2==0) printf("%.f\n",ans); else printf("%.1f\n",ans); return 0; }