SPOJ Easy: Offside