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