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