#include <stdio.h>
typedef struct rs_rule {
	char	*r_name;
	int	r_weightsum;
	char	**r_term;
} RS_RULE;
static char *term[180] = {
 "\001<THOUGHT>",
 "\001<MUMBLE>",
 "\001<MUMBLE>, <THOUGHT>",
 "\001<THOUGHT>; <MUMBLE>",
 NULL,
 "\001<LETME> <CONSIDER> <THIS>",
 NULL,
 "\001<THANKS> for the game, <NICEGAME>",
 "\001<NICEGAME>, <THANKS>",
 NULL,
 "\001thanks",
 "\001thank you",
 "\001thank you very much",
 NULL,
 "\001I admired the <GOOD> <P123> on your part",
 "\001that was <GOOD> <P3> on your part",
 "\001your <P1>s were quite <GOOD>",
 "\001it was a pleasure to play against one so <GOOD>",
 "\001I <REALLY> enjoyed your <GOOD> <P123>",
 "\001I was <REALLY> impressed by that last <GOOD> <P1>",
 NULL,
 "\004<NASTY>",
 "\001<NASTY>; <MORE> <NASTY>",
 NULL,
 "\001you are clearly a <STUPID> <FOOL>",
 "\001I have never seen such <STUPID> <P123>",
 "\001your <STUPID> <P23> befits a <STUPID> <FOOL>",
 "\001your <STUPID> <P1>s indicate that you are a <STUPID> <FOOL>",
 "\001a <STUPID> <FOOL> is not so <STUPID> as you",
 "\001your <P23> marks you as a <STUPID> <FOOL>",
 "\001your <P1>s are less than <GOOD>",
 NULL,
 "\001and, so you really get the message,",
 "\001furthermore, you <STUPID> <FOOL>, you should know that",
 "\001my very <GOOD> friend, and, in case you still don't understand,",
 "\001but, since you <LACK_BRAINS>, let me also point out that",
 NULL,
 "\001seem to be six bricks short of a full load",
 "\001don't have all your shingles nailed down",
 "\001have only 51 cards in your deck",
 "\001are riding on your rims",
 "\001have lost three of your five marbles",
 "\001aren't even qualified to be a traffic controller for Bermuda Triangle Airlines",
 "\001are so stupid that you believe this message",
 "\001don't meet the admission requirements for Matchbook University",
 "\001read the New Yorker, but skip the cartoons",
 "\001the butter has slipped off your noodles",
 "\001are rowing with only one oar in the water",
 NULL,
 "\001excellent",
 "\001wonderful",
 "\001nice",
 "\001careful",
 "\001impeccable",
 "\001shrewd",
 "\001clever",
 "\001nifty",
 "\001good",
 "\001smart",
 "\001skillful",
 "\001cunning",
 "\001witty",
 "\001fine",
 "\001splendid",
 "\001elegant",
 "\005very <GOOD>",
 "\001bright",
 "\001brainy",
 "\001brilliant",
 "\001sharp",
 "\001keen",
 "\001nimble-witted",
 "\001slick",
 "\001sly",
 "\001astute",
 "\001penetrating",
 NULL,
 "\001hmmm",
 "\001er ... umm",
 "\001ahh",
 "\001well now",
 "\001gosh",
 "\001gee",
 "\001OK",
 "\001oh man",
 "\001let's see",
 "\001wait a minute",
 "\001interesting",
 "\001wow",
 "\001wowee",
 "\001yipes",
 "\001zowee",
 "\001whoosh",
 "\005<MUMBLE>, <MUMBLE>",
 "\006<MUMBLE> ...",
 NULL,
 "\001I think I'll",
 "\001let me",
 "\001I <REALLY> need time to",
 "\001I'm <REALLY> going to have to",
 NULL,
 "\001consider",
 "\001contemplate",
 "\001mull over",
 "\004<THINK> about",
 NULL,
 "\001think",
 "\001cogitate",
 "\001see",
 "\001meditate",
 NULL,
 "\001this",
 "\001this one",
 "\001the situation",
 "\001this problem",
 "\001this here",
 NULL,
 "\001maneuver",
 "\001strategem",
 "\001tactic",
 "\001play",
 "\001move",
 NULL,
 "\001performance",
 "\001game",
 "\001effort",
 NULL,
 "\001play",
 "\001strategy",
 NULL,
 "\001<P1>s",
 "\001<P3>",
 NULL,
 "\001<P2>",
 "\001<P3>",
 NULL,
 "\001<P1>s",
 "\001<P2>",
 "\001<P3>",
 NULL,
 "\001stupid",
 "\001dumb",
 "\001blundering",
 "\001thick-headed",
 "\001sad",
 "\001dimbulb",
 "\001thick-skulled",
 "\001silly",
 "\001ludicrous",
 "\001witless",
 "\001poor",
 "\001ponderous",
 "\001brainless",
 "\001foolish",
 "\001bungling",
 "\001heavy-handed",
 "\001graceless",
 "\001clumsy",
 NULL,
 "\001fool",
 "\001dolt",
 "\001idiot",
 "\001oaf",
 "\001blockhead",
 "\001chump",
 "\001ass",
 "\001moron",
 "\001ninny",
 "\001nincompoop",
 "\001chump",
 "\001dunce",
 "\001bonehead",
 "\001fathead",
 "\001imbecile",
 "\001jerk",
 "\001baboon",
 NULL,
 "\003",
 "\001really",
 NULL,
};
RS_RULE rstest[24+1] = {
{ "LETMESEE",	4,  &term[0] },
{ "THOUGHT",	1,  &term[5] },
{ "PRAISE",	2,  &term[7] },
{ "THANKS",	3,  &term[10] },
{ "NICEGAME",	6,  &term[14] },
{ "INSULT",	5,  &term[21] },
{ "NASTY",	7,  &term[24] },
{ "MORE",	4,  &term[32] },
{ "LACK_BRAINS",	11,  &term[37] },
{ "GOOD",	31,  &term[49] },
{ "MUMBLE",	27,  &term[77] },
{ "LETME",	4,  &term[96] },
{ "CONSIDER",	7,  &term[101] },
{ "THINK",	4,  &term[106] },
{ "THIS",	5,  &term[111] },
{ "P1",	5,  &term[117] },
{ "P2",	3,  &term[123] },
{ "P3",	2,  &term[127] },
{ "P13",	2,  &term[130] },
{ "P23",	2,  &term[133] },
{ "P123",	3,  &term[136] },
{ "STUPID",	18,  &term[140] },
{ "FOOL",	17,  &term[159] },
{ "REALLY",	4,  &term[177] },
{ NULL,	0, NULL },
};
