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