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