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