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