Well i have been working on this problem for a while now and it gives the correct anwser for all the test i have found on this forum but yet i get the damn WA... If you find any mistakes or know any tests that make my program work wrong HELP ME !! I will be gratefull ;D