Java Task : MainAtomic3SIn0AIn2Out