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