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