import random


def consolation(dirty):
	"""Provide a consolation for feeling bad."""
	r = random.random()

	if r <= 0.6:
		when = random.choice(["shortly", "soon", "in due time"])
		return ", but don't worry, everything will improve %s" % when
	elif r <= 0.9:
		return ", perhaps you need a change in your life?"
	else:
		return "..."