class ATM:
    def __init__(self,balance,bank_name):
        self.balance=balance
        self.bank_name=bank_name
        self.withdrawals_list = []
    def withdraw(self,request):
        balance = self.balance
        print"="*30
        print "Welcome to "+str(self.bank_name)
        print  "Current balance ="+str(self.balance)
        print"="*30

        if   request > balance:
            print("Can't give you all this money !!")

        elif request < 0:
            print("More than zero plz!")

        else:
           self.withdrawals_list.append(request)
           self.balance -= request              
           while request > 0:
                if request >= 100:
                    request -= 100
                    print("give 100")
                    
                elif request >= 50:
                     request -= 50
                     print("give 50")

                elif request >= 10:
                     request -= 10
                     print("give 10")

                elif request >= 5:
                     request -= 5
                     print("give 5")

                elif request < 5:
                    print("give " + str(request))
                    request = 0
           
           return ""
    def show_withdrawals(self):
    	for operation in self.withdrawals_list:
    		print operation






balance1 = 5000
balance2 = 1000

atm1 = ATM(balance1, "Smart Bank")
atm2 = ATM(balance2, "Baraka Bank")

atm1.withdraw(277)
atm1.withdraw(800)

atm2.withdraw(100)
atm2.withdraw(2000)


atm1.show_withdrawals()
atm2.show_withdrawals()