


from __future__ import annotations





def __UpperCAmelCase       (		__A			)						->					list[int]:



							'''simple docstring'''





							if len(_lowerCamelCase			) == 0:
														return array

							UpperCAmelCase__										=     min(_lowerCamelCase			), max(_lowerCamelCase			)

							# Compute the variables
							UpperCAmelCase__										=     _max - _min + 1
							UpperCAmelCase__										=     [0] * holes_range, [0] * holes_range

							# Make the sorting.
							for i in array:
														UpperCAmelCase__										=     i - _min
														UpperCAmelCase__										=     i
														holes_repeat[index] += 1

							# Makes the array back by replacing the numbers.
							UpperCAmelCase__										=     0
							for i in range(_lowerCamelCase			):
														while holes_repeat[i] > 0:
																					UpperCAmelCase__										=     holes[i]
																					index += 1
																					holes_repeat[i] -= 1

    # Returns the sorted array.
							return array


if __name__ == "__main__":
				import doctest

				doctest.testmod()
				A      = input("Enter numbers separated by comma:\n")
				A      = [int(x) for x in user_input.split(",")]
				print(pigeon_sort(unsorted))









from __future__ import annotations





def __UpperCAmelCase       (		__A ,						__A ,						__A ,						)						->					tuple:



       '''simple docstring'''





       if (electron_conc, hole_conc, intrinsic_conc).count(0			) != 1:
              raise ValueError("You cannot supply more or less than 2 values"			)
       elif electron_conc < 0:
              raise ValueError("Electron concentration cannot be negative in a semiconductor"			)
       elif hole_conc < 0:
              raise ValueError("Hole concentration cannot be negative in a semiconductor"			)
       elif intrinsic_conc < 0:
              raise ValueError(
                  "Intrinsic concentration cannot be negative in a semiconductor"			)
       elif electron_conc == 0:
              return (
                  "electron_conc",
                  intrinsic_conc**2 / hole_conc,
              )
       elif hole_conc == 0:
              return (
                  "hole_conc",
                  intrinsic_conc**2 / electron_conc,
              )
       elif intrinsic_conc == 0:
              return (
                  "intrinsic_conc",
                  (electron_conc * hole_conc) ** 0.5,
              )
       else:
              return (-1, -1)


if __name__ == "__main__":
    import doctest

    doctest.testmod()





