<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def passagg(recipient, sender):
 	""" 	Generate a passive-aggressive statement to recipient from sender. 	"""

	adj = random.choice(pmxbot.phrases.adjs)
	if random.choice([False, True]):
		# address the recipient last
		lead = ""
		trail = recipient if not recipient else ", %s" % recipient
	else:
		# address the recipient first
		lead = recipient if not recipient else "%s, " % recipient
		trail = ""
	body = random.choice(pmxbot.phrases.adj_intros) % adj
	if not lead:
		body = body.capitalize()
	msg = "{lead}{body}{trail}.".format(**locals())
	fw = random.choice(pmxbot.phrases.farewells)
	return "{msg} {fw}, {sender}.".format(**locals())