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