There are 6 baskets on the table. Each basket has 12, 0, 4, 8, 1 and 7 apples. Olivia chose fifth, Emma chose fourth, Liam chose sixth, Sean chose third, John chose first, and Matt chose second. How many apples did John and Matt choose in total?