Two friends collect boxes of cereal for charity. One friend collects 22 bins with 36 boxes each, and the other collects 18 bins with 24 boxes each.

How many boxes did they collect altogether?