input: 
  from typing import List
  
  class Account:
      def __init__(self, name: str, balance: float):
          self.name = name
          self.balance = balance
  
      def deposit(self, amount: float):
          self.balance += amount
  
      def withdrawal(self, amount: float):
          self.balance -= amount
  
  class ATM:
      def __init__(self):
          self.accounts: List[Account] = []
  
      def createAccount(self, name: str, balance: float):
          account = Account(name, balance)
          self.accounts.append(account)
  
      def deposit(self, name: str, amount: float):
          for account in self.accounts:
              if account.name == name:
                  account.deposit(amount)
  
      def withdrawal(self, name: str, amount: float):
          for account in self.accounts:
              if account.name == name:
                  account.withdrawal(amount)
  
      def printBalance(self, name: str):
          for account in self.accounts:
              if account.name == name:
                  print(name, " Balance: ", account.balance)
  
  # Example usage:
  atm = ATM()
  atm.createAccount("John", 1000)
  atm.deposit("John", 500)
  atm.withdrawal("John", 200)
  atm.printBalance("John")  # Output: John  Balance:  1300.0
  
output:     
      def transfer(self, from_name: str, to_name: str, amount: float):
          from_account = None
          to_account = None
          for account in self.accounts:
              if account.name == from_name:
                  from_account = account
              if 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 in ", from_name)
          else:
              print("One or both accounts not found")
  
      def printAllBalances(self):
          for account in self.accounts:
              print(account.name, " Balance: ", account.balance)
  
  # Example usage:
  atm.transfer("John", "Jane", 300)
  atm.printAllBalances()  # Output: John  Balance:  1000.0, Jane  Balance:  300.0
  