euler54 hackerrank