lonely integer problem