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