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