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