#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define _GLIBCXX_DEBUG
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define rep1(i, c, n) for (ll i = c; i < (n); ++i)
#define yn(ok, True, False) if (ok) { p(True) } else {p(False)};
//以下debug用
#define d(x) cout << #x << "; " << x << endl;
#define p(x) cout << x << endl;
#define f(x) for (long unsigned int i = 0; i < x.size(); i++) cout << #x << "[" << i << "]; " << x[i] << endl;

bool ok = false;
vector<int> datas;
const int inf = 1001001001;
const ll INF = 1LL << 60; //無限大

int main(){

  ll n,k;
  cin >> n >> k;
  rep(i,k){
    if (n%200 == 0){
      n = n/200;
    }else{
      n = (n*1000) + 200;
    }
    // d(n)
  }
  p(n)
  return 0;
}

#include <iostream>

int main()
{
  long long int N;
  int K;
  std::cin >> N >> K;
  for (int i = 0; i < K; i++)
  {
    if (N % 200 == 0)
    {
      N /= 200;
    }
    else
    {
      N *= 1000;
      N += 200;
    }
  }
  std::cout << N << std::endl;
}