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