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