Sit on the edge of the chair, with legs bent at the knees 90 degrees and feet flat on the floor. Hold the chair or the armrest with your hands for support. Lean back, keeping your spine straight. Lift both legs up toward your chest, keeping your legs bent at the knees. Then lower your legs to the floor. Repeat the exercise 30 times.