{
TASK:lab101
LANG:pascal
}
begin
randomize;
writeln(random(3));
end.