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