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