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