parsing input, outputting minutes and hours