my code for ACM world final or reginal