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