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