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