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