Solution to spoj ONP