SPOJ: MBINGO solved.