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