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