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