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