input: Write a function to simulate a simple ATM machine. The function should include two classes: `Account` and `ATM`. The `Account` class should have methods to initialize the account with a given name and balance, to deposit an amount, and to withdraw an amount. The `ATM` class should have methods to create an account, deposit an amount to an existing account, withdraw an amount from an existing account, and print the balance of a given account.
  
  
  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(f"{name} Balance: {account.balance}")
  
  assert ATM().createAccount("John", 100)
  assert ATM().deposit("John", 50)
  assert ATM().withdrawal("John", 20)
  assert ATM().printBalance("John") == "John Balance: 130"
  assert ATM().createAccount("Alice", 500)
  assert ATM().deposit("Alice", 100)
  assert ATM().withdrawal("Alice", 150)
  assert ATM().printBalance("Alice") == "Alice Balance: 450"
  
output: 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(f"{name} Balance: {account.balance}")