the output for the solution I wrote should be 6 6 but not 66