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