There is a long staircase. If you climb it by taking 2 steps at a time, there will be 1 step remaining at the end. If you climb it by taking 3 steps at a time, there will be 2 steps remaining. If you climb it by taking 5 steps at a time, there will be 4 steps remaining. If you climb it by taking 6 steps at a time, there will be 5 steps remaining. Only by taking 7 steps at a time will there be exactly 1 step remaining. How many steps does this staircase have in total?