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