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