marbles spoj

sorry …a silly mistake in calculation…

//