rich(1,420,1,0,1).
rich(2,150,0,0,1).
rich(3,440,1,1,1).
rich(4,270,1,0,1).
rich(5,660,1,0,0).
rich(6,330,0,1,0).
rich(7,500,0,0,1).
rich(8,730,0,1,0).
