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