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