def main ():
    s = SmartUtils ()
    s.poll ()
    s.selectApplication (aid=0)
    s.auth (key=16*"00")
    s.eraseAll ()
    s.createApplication (aid=1)
    s.createApplication (aid=2)
    s.selectApplication (aid=1)
    s.auth (key=16*"00")
    s.selectApplication (aid=2)
    s.auth (key=16*"00")
def main ():
    s = SmartUtils()
    s.poll()
    s.auth()
    s.eraseAll()