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