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