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