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