Jumping Robot#1232

Jumping Robot

1 second
64 megabytes
Medium

A robot moves along a tape consisting of n+1 cells. The cells are numbered from to . Initially, the robot is at cell . Each other cell contains a certain number of crystals. When the robot enters a cell, it collects all the crystals in that cell. The robot can make single jumps (to an adjacent cell) and double jumps (skipping over one cell), with m + 2k = n. The robot can jump only forward.

Given the arrangement of crystals on the tape, calculate the maximum number of crystals the robot can collect.

Input

The first line contains integers: (1 \leq n \leq 100), (0 \leq m \leq 100), (0 \leq k \leq 100).

The second line contains integers — the number of crystals (at most ) in each cell from to (all cells except cell ).

Output

Output one number — the maximum number of crystals.

The second line should contain m+k+1 integers — the numbers of the cells visited by the robot, starting from cell .

Examples

Example 1

Loading
Loading