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