A. Bashar and SHAWERMA!

A. Bashar and SHAWERMA!
time limit per test
1.5 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
Bashar Loves SHAWERMA sandwiches very much, so he decided to buy some sandwiches.
The price of one sandwich is 2 JDs and Bashar wants to eat x sandwiches.
how many JDs Bashar needs to buy the x sandwiches?
Input
The input contains a single integer x (1x30) .
Output
Print the number of JDs Bashar needs to buy the x sandwiches.
Example
input
Copy
17
output
Copy
34

Comments

Popular posts from this blog

How to pass parameters in webhook?

Access and modify all the resources of our Wiki.js using WikiJS API

Fahrenheit to Celsius