/* _       _
   |\     /
   | \   /
   | /  /   _
   |/   \    \
   |     \   /
   |      \_/  */

#include<bits/stdc++.h>
typedef long long int ll;
typedef long double ld;
#define vll vector <ll>
#define vss vector <string>
#define pb push_back
#define pf push_front
#define popb pop_back
#define popf pop_front
#define ff first
#define ss second
#define mp make_pair
#define M 1000000007
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
#define testcase ll t;cin>>t;while(t--)
#define fi(a,b) for(ll i=a;i<b;i++)
#define fj(a,b) for(ll j=a;j<b;j++)
#define fk(a,b) for(ll k=a;k<b;k++)
using namespace std;

// ............................................................................................ //

int main()
{
    ll n, k;
    cin>>n>>k;
    while(k>0)
    {
        if(n%200==0)
        {
            n/=200;
        }
        else
        {
            n=(n*1000)+200;
        }
        k--;
    }
    cout<<n<<endl;
}
#include <bits/stdc++.h>
using namespace std;

#define ll long long int

int main(){
    ll n, k;
    cin >> n >> k;
    for(int i=0; i<k; i++){
        if(n%200 == 0) n /= 200;
        else{
            n = n * 1000 + 200;
        } 
    }
    cout << n << endl;
    return 0;
}