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