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