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