var a,b,pro:int64;begin pro:=1; readln(a, b); repeat if((a mod 4) =0) then pro:=pro*a; inc(a); until(a>b); writeln(pro); readln;end.