Java Task : MainAtomic1SIn0AIn1Out