problem statement is:706A:Beru-Taxi
My solutions: 1.)http://codeforces.net/contest/706/submission/36356421 2.)http://codeforces.net/contest/706/submission/36356498 3.)http://codeforces.net/contest/706/submission/36356604 4.)http://codeforces.net/contest/706/submission/36357187
Weird thing it's printing commas in final answer can anyone help me?