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