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