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