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