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