Adam is climbing up the stairs in a building. At a certain point, Adam starts counting the steps and when he reaches the last step, he has counted 56 steps. If he knows that there are a total of 100 steps in the building, how many steps did he climb before he started counting the steps?