Java Task : MainGeneratorAtomicWith1SIn