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