At a soccer game the snack bar sells hot dogs for 4 dollars and slices of pizza for 6 dollars. The snack bar sold 70 hot dogs and slices of pizza all together for $342 dollars.
Part A: Enter the total number of hot dogs sold.
Part B: Enter the total number of slices of pizza sold.