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