#include "bits/stdc++.h" using namespace std; using ll=long long; using ld=long double; using vi=vector; using vvi=vector; using vll=vector; using vvll=vector; using pii=pair; #define rep(i,n) for(int i=0;i<(n);i++) #define sor(v) sort(v.begin(),v.end()) #define rev(v) reverse(v.begin(),v.end()) #define ALL(v) v.begin(),v.end() #define pb push_back templatebool chmax(T &a, const T &b) {if (abool chmin(T &a, const T &b) {if (bvoid printv(vector v){ll n=v.size(); rep(i,n){cout<void printvv(vector> v){for(auto V:v) printv(V);} //constexpr int INF=1001001001; //constexpr int mod=1e9+7; constexpr int mod=998244353; int main(){ ll n,l; cin>>n>>l; n=(n+l-1)/l; ll res=1; ll x=2; while(n){ if(n&1) (res*=x)%=mod; x=(x*x)%mod; n/=2; } res=(res+mod-1)%mod; cout<