#include #include #include using namespace atcoder; using mint = modint998244353; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000001 int main(){ vector f(3000001,true); f[1] = false; for(int i=2;i>a>>b; int ans = 0; for(int i=a;i