from threading import Thread
from Queue import Queue
from time import sleep

# Fill in the implementation here

class Boo(object):
    def bar(self):
        sleep(2)
        print "bar"

class Foo(Boo):
    __metaclass__ = Active
    def __init__(self):
        self.x = '*'
    def goo(self, y):
        sleep(2)
        print self.x, y

def test():
    "The expected output is 1, 2, 3 and then * 1, * 2 and bar"
    f = Foo()
    f.goo(1)
    print 1
    f.goo(2)
    print 2
    f.bar()
    print 3
    sleep(10)
   
if __name__ == '__main__':
    test()
