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