Kangaroo
Kangaroo is in coordinate origin (at the (0,0)). For 1 second he jumps for 1 Up, Down, Left or Right.
InputThe standard input contains one number N (0 <= N < 2<sup>32</sup>-1), representing the number of seconds.
OutputOn standard output write one number that represent on how many different points kangaroo can be after exactly [N] seconds.
Input:
1Output:
4 Input:
1234Output:
1525225 Submit solution
Coming laterThe grading service will be connected in a later migration step. You can inspect the task and your previous results now.