NEXTODD - The next odd number

no tags 

Given an integer 1 <= N <= 10000,you have to print the next odd number.

Score is the length of your source.

Input

The input file consists of series of numbers one in each line.The input is terminated by EOF.

Output

The next odd number.

Example

Input:
5
2
6
17

Output:
7
3
7
19


PS:Take care about your fingers, do not use more than 100 bytes of code.


hide comments
zai zai: 2014-03-16 12:16:28

i forgot "\n" :)

ওয়াসী (Wasi): 2013-08-07 10:23:13

Got it. 10B in 1st attempt! :P

Last edit: 2013-08-21 14:50:48
Mostafa 36a2: 2013-08-07 10:00:16

@ওয়াসী (Wasi) :Come on and bring your awk:)

ওয়াসী (Wasi): 2013-06-15 19:36:59

stuck at 33 chars in py2 :(
wish i could cut a byte off!

EDIT: 27 chars finally! :D

Last edit: 2013-06-16 09:11:30
yousef hadder: 2013-06-15 19:34:05

Solution is sooooooo easy and stupid.
For the memory limit,just don't leave any extra spaces and lines in your code.

Bara farouk abdelsalam: 2013-06-15 16:47:01

isak your answer is :
while(!cin.eof(){
.
.
.
.
.
.
}

Moudud: 2013-02-26 13:16:03

memory limit too long.but it is shortest to me

Vikas Gupta: 2013-01-30 20:54:38

TLE!!!!!!!!!

Santiago Palacio: 2012-01-12 07:44:41

@isak while(cin>>n){...}


Added by::(){ :|: & };:
Date:2010-08-25
Time limit:1s
Source limit:100B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: NODEJS OBJC VB.NET
Resource:From a shortening contest.