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