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