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