#include <karel.h>void turnRight(){ turnLeft(); turnLeft(); turnLeft();}void turnAround(){ turnLeft(); turnLeft();}void oznac(){ turnRight(); movek(); putBeeper();turnAround(); movek(); turnRight();}int main(){ turnOn("road1.kw");setStepDelay(300);if (rightIsBlocked()) {movek();} else{oznac();} if (rightIsClear()) {oznac();movek();} else{movek();} turnOff(); return 0;}