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