It’s a new game which is a little different from those you’ve played before, though it has a very similar name: the game of killing. Now, please pay attention to the instruction below.
There’re 12 players in this game: 2 policemen, 2 killers, 1 doctor, 1 sniper, 1 butterfly, 4 civilians and 1 judge. Here’re the events happen everyday:
-Night falls.
-The killers hang out to kill one person. If they successfully kill a policeman (that’s say, the policeman isn’t saved by the doctor), they’ll each get 10 points. A killer can’t kill himself.
-The policemen search for the killers. They can ask the judge for help, and the judge will tell them whether their suspicion is right or not. If the person the policemen find is a killer, they’ll each get 5 points. The policemen can’t kill the killers on their own.
-The doctor can give any person except the judge an injection. If the person is killed by killer in the first event, the doctor can relive the person and get 5 points. An injection is called useless when it’s given to a person who isn’t killed by the killers. If a person gets two useless injections in total, he’ll die. If the person killed by the doctor is a killer or the butterfly, the doctor will get 5 points. Otherwise, the doctor will lose 5 points. The doctor can give himself an injection.
-The sniper has one bullet that can kill one person in the game and the doctor can’t relive the dead. Every night, the sniper should make a decision whether to give the shot or not. After he kills someone, he’ll be a civilian. If he kills the killer, he’ll get 5 points, and if he kills the policeman, he’ll lose 5 points.
-The butterfly can take action only once per night. If she finds the policeman, the policeman will die, and she’ll get 10 points.
-If the killers, sniper or the butterfly choose the same victim, they'll all get their points.
-The day dawns.
-The judge announces the dead. If you can tell the result now, the game ends. Otherwise, every player who is still alive votes for one person who he thinks is his opponent. The person who gets the most votes will be killed. If there’s a tie, nobody will be killed.
The game will be over when both of the policemen die or both of the killers die. The policemen, the doctor, the sniper and the civilians are on one side, and the killers and the butterfly are on the other side. At the end of the game, every member of the winning side will get 10 points. If both the policemen and the killer are killed, nobody gets extra points.
Your task is to play the judge role and calculate the scores every player gets.