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