#include <iostream>
#include <iomanip>
using namespace std;

int main() {
    int x;
    cin >> x;
    int fox = 3 * x;
    int sheep = fox - 8;
    double average = (x + fox + sheep) * 1.0 / 3;
    cout << fox << endl;
    cout << sheep << endl;
    cout << fixed << setprecision(1) << average << endl;
    return 0;
}

/**************************************************************
	Problem: 1601
	User: fuyijun
	Language: C++
	Result: Accepted
	Time:7 ms
	Memory:2072 kb
****************************************************************/