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