結果 : map and lambda function hackerrank solution in python