#include <bits/stdc++.h>
#if __has_include(<atcoder/all>)
#include <atcoder/all>
using namespace atcoder;
#endif
#define rep(i, n) for (int i = 0; i < (n); ++i)

using namespace std;
using mint = modint998244353;

int main() {
    int x, k;
    cin >> x >> k;
    k *= 2;
    int k2 = 1<<k;
    
    if (x == 0 or x == 100) {
        puts("0");
        return 0;
    }
    
    mint ans;
    rep(s, k2) {
        string t;
        rep(i, k) {
            if (s>>i&1) t += '(';
            else t += ')';
        }
        
        bool ok = true;
        int cnt = 0;
        for (char c : t) {
            cnt += c == '(' ? 1 : -1;
            if (cnt < 0) {
                ok = false;
                break;
            }
        }
        ok &= cnt == 0;
        if (!ok) continue;
        
        int mx = 0;
        int now = 0;
        for (char c : t) {
            if (c == '(') now++, mx = max(mx, now);
            else now--;
        }
        ans += mx;
    }
    ans *= mint(x).pow(k/2)*mint(100-x).pow(k/2);
    ans /=  mint(100).pow(k);
    
    cout << ans.val() << '\n';
    
    return 0;
}