srm565 - easy (div 1)