input: 
  class Account:
      def __init__(self, name, balance):
          self.name = name
          self.balance = balance
  
      def deposit(self, amount):
          self.balance += amount
  
      def withdrawal(self, amount):
          self.balance -= amount
  
  class ATM:
      def __init__(self):
          self.accounts = []
  
      def createAccount(self, name, balance):
          account = Account(name, balance)
          self.accounts.append(account)
  
      def deposit(self, name, amount):
          for account in self.accounts:
              if account.name == name:
                  account.deposit(amount)
  
      def withdrawal(self, name, amount):
          for account in self.accounts:
              if account.name == name:
                  account.withdrawal(amount)
  
      def printBalance(self, name):
          for account in self.accounts:
              if account.name == name:
                  print(name, " Balance: ", account.balance)
  
  """
  Simulate a simple ATM machine with account creation, deposit, withdrawal, and balance printing functionalities.
  >>> atm = ATM()
  >>> atm.createAccount('John', 1000)
  >>> atm.deposit('John', 500)
  >>> atm.withdrawal('John', 200)
  >>> atm.printBalance('John')
  John  Balance:  1300
  """
  
output:     def transfer(self, from_name, to_name, amount):
          from_account = None
          to_account = None
          for account in self.accounts:
              if account.name == from_name:
                  from_account = account
              elif account.name == to_name:
                  to_account = account
          if from_account and to_account:
              if from_account.balance >= amount:
                  from_account.withdrawal(amount)
                  to_account.deposit(amount)
              else:
                  print("Insufficient balance for transfer")
          else:
              print("One or both accounts not found")