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