Java Task : MainAtomic2SIn0AIn1Out