SPOJ Basically Speaking