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