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