Another homework for mafia