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