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