A - An easy task II

Languages: C++, Java, Python, Kotlin
Time & Memory limits: (details)

Input

Output

Sample test(s)

Input
3
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
6
--- Showing first 30 lines (click "Copy" to get full content) ---
Input
10
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
10
--- Showing first 30 lines (click "Copy" to get full content) ---
Input
999999999
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
1999999998
--- Showing first 30 lines (click "Copy" to get full content) ---

Notes