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