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