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