SPOJ - Linearian Colony