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