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