SPOJ Added Tricount