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