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