Shelf Shuffle

A long wooden shelf holds NN books arranged neatly from leftmost position 11 to rightmost position NN, each book bearing a unique label equal to its initial position. The labels increase from left to right in natural order.

One day, a curious librarian accidentally removed the block of books from positions LL through RR (inclusive) and placed them back in reverse order. No other part of the shelf was disturbed during this single flipping operation.

Your task is to determine the new arrangement of labels on the shelf after this reversal. Given the values of NN, LL, and RR, output the sequence of labels from left to right once the specified segment has been flipped.

Input

Three integers NN, LL, and RR, where:

  • NN is the total number of books on the shelf,
  • LL and RR specify the starting and ending positions of the flipped segment.

Output

Print NN integers—the labels of the books on the shelf from leftmost to rightmost after performing the reversal between positions LL and RR.