Day 27 Testing Hackerrank Solution