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