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