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