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