Codechef•Jul 08, 2025
Double Rent
Hazrat Ali
Codechef
Chef was initially paying a rent of X rupees. Since Chefina is moving in, the owner decided to double the rent.
Find the final rent Chef needs to pay.
Input Format
The input consists of a single integer X, denoting the rent Chef was initially paying.
Output Format
Output on a new line, the final rent Chef needs to pay.
Constraints
- 1≤X≤10
Sample 1:
Input
2
Output
4
Solution
x = int(input())
print(2 * x)