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