some spoj problems