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