add solution to problem 27. There is some smell code. Review the code later.
add solution to problem 27. There is some smell code. Review the code later.

advancedxy/hackerrank,advancedxy/hackerrank,advancedxy/hackerrank