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