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