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