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