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