changed print format to that which Hackerrank accepts