Cemetery
After each major battle, the orc general, Grom Hellscream, feels it is his duty to visit the cemetery to honor the fallen orcs. He walks around all the graves, beginning his journey at his father's grave and concluding at his mother's grave.
The graves are arranged in a single row, numbered from 1 to N. Grom can move between graves with a step size that allows him to move to a grave whose number is at most 2 away from his current position. He must stay within the cemetery's boundaries and cannot revisit any grave during his round.
Your task is to write a program that helps Grom complete his round of all the graves while following these rules.
Input
The input consists of a single line with three integers: the total number of graves N, and the numbers of Grom's father's and mother's graves A and B. (2 ≤ N ≤ 10000, 1 ≤ A, B ≤ N, A ≠ B).
Output
The output should be a sequence of N−1 steps, each formatted as [sign][number], where [sign] is either + or − indicating the direction of the step, and [number] is 1 or 2 indicating the step size. If it is impossible to complete the round, output the number 0.