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