After years of training for programming contests, MkVeio wants a more physically active routine. While looking for an enjoyable activity, he discovers Pilates!
Pilates is an exercise method developed by Joseph Pilates that emphasizes the connection between mind and body. At MkVeio's studio, workouts cycle through four pieces of equipment in this order:
![]() | ![]() |
| 1. Reformer | 2. Cadillac |
![]() | ![]() |
| 3. Chair | 4. Barrel |
The first workout uses the Reformer, the second the Cadillac, the third the Chair, and the fourth the Barrel. The fifth returns to the Reformer, and the cycle continues.
MkVeio has signed up for $$$n$$$ workouts before the end of the year. He is very disciplined and is certain he will attend them all. Which piece of equipment will he use in his last workout of the year?
In his prime, MkVeio would have written a program to answer this in under a minute, but he is tired and would rather ask for your help.
The input consists of a single line containing an integer $$$n$$$ ($$$1 \leq n \leq 10^{5}$$$), the number of workouts MkVeio will attend before the end of the year.
Print the name of the equipment used in his $$$n$$$-th workout: Reformer, Cadillac, Chair, or Barrel.
1
Reformer
7
Chair