Solution of Spoj