#include <stdio.h>

int balance = 1000;

void deposit(int x) {
	balance += x;
}

int withdraw(int y) {
	if (y <= balance) {
		balance -= y;
		return y;
	}else {
		return 0;
	}
}

int check_balance(void) {
	return balance;
}


int main(void) {
	int x,y;
	int cash = 0;
	
	scanf("%d %d",&x,&y);
	
	deposit(x);
	printf("My account: %d\n", check_balance());
	
	cash = withdraw(y);
	if(cash){
		printf("%d円引き出しました。\n",cash);
	} else {
		printf("お取り扱いできません。");
	}
	
	printf("現在の残高：%d円\n", check_balance());
	
	return 0;
}
