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