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