Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: SUN
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-06 14:06:49
// rocket launcher.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
int main()
{
int n;
std::cin >> n;
std::cout << n * (4 + (n - 1) * 3);
}