You may have just added the 24 and 24 together. These measurements are expressed in different units, and you must convert one of them before you add.