solved 25 in python