def out_of_money(players, out):
	""" Check if any player's have 0 cash and remove then from the game."""
	keep = []
	for player in players:
		if player.cash > 0:
			keep.append(player)
		else:
			player.out_of_money()
			out.append(player)
			print("Player out of money. bye {n}.".format(n = player.name))
	return keep