echo "[bricks]. statistics, laybricks2([$1],$2,$3,R), writeln(R), statistics, halt." | pl