initial check in of solution 19
19 solved. should have actually read the problem statement before jumping into coding