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