input: Write a function to simulate a simple ATM machine using the provided account and ATM classes. The function should allow creating an account, depositing money, withdrawing money, and checking the account balance. The function should return the account's balance after each operation.
  
  def atm_operations(atm_obj, operation, name, amount=0):
      if operation == 'create':
          atm_obj.createAccount(name, amount)
          return None
      elif operation == 'deposit':
          atm_obj.deposit(name, amount)
      elif operation == 'withdraw':
          atm_obj.withdrawal(name, amount)
      elif operation == 'check':
          return atm_obj.printBalance(name)
      return None
    
  atm = ATM()
  assert atm_operations(atm, 'create', 'John', 500) == None
  assert atm_operations(atm, 'deposit', 'John', 300) == None
  assert atm_operations(atm, 'withdraw', 'John', 200) == None
  assert atm_operations(atm, 'check', 'John') == None
  assert atm_operations(atm, 'create', 'Jane', 1000) == None
  assert atm_operations(atm, 'check', 'Jane') == None
output: def atm_operations(atm_obj, operation, name, amount=0):
      if operation == 'create':
          atm_obj.createAccount(name, amount)
          return None
      elif operation == 'deposit':
          atm_obj.deposit(name, amount)
          return atm_obj.printBalance(name)
      elif operation == 'withdraw':
          atm_obj.withdrawal(name, amount)
          return atm_obj.printBalance(name)
      elif operation == 'check':
          return atm_obj.printBalance(name)
      return None