'''simple docstring'''

from itertools import product






def       __lowercase  (_SCREAMING_SNAKE_CASE      :int    ,	_SCREAMING_SNAKE_CASE      :int       ):
				SCREAMING_SNAKE_CASE  :						List[str]      					= sides_number
				SCREAMING_SNAKE_CASE  :						Dict      					= max_face_number * dice_number
				SCREAMING_SNAKE_CASE  :						List[Any]      					= [0] * (max_total + 1)

				SCREAMING_SNAKE_CASE  :						Tuple      					= 1
				SCREAMING_SNAKE_CASE  :						Tuple      					= range(_SCREAMING_SNAKE_CASE    ,	max_face_number + 1       )
				for dice_numbers in product(_SCREAMING_SNAKE_CASE    ,	repeat=_SCREAMING_SNAKE_CASE       ):
								SCREAMING_SNAKE_CASE  :						Optional[Any]      					= sum(_SCREAMING_SNAKE_CASE       )
								totals_frequencies[total] += 1

				return totals_frequencies






def       __lowercase  ():
				SCREAMING_SNAKE_CASE  :						Optional[int]      					= total_frequency_distribution(
				    sides_number=4    ,	dice_number=9       )
				SCREAMING_SNAKE_CASE  :						Union[str, Any]      					= total_frequency_distribution(
				    sides_number=6    ,	dice_number=6       )

				SCREAMING_SNAKE_CASE  :						Dict      					= 0
				SCREAMING_SNAKE_CASE  :						List[str]      					= 9
				SCREAMING_SNAKE_CASE  :						Optional[int]      					= 4 * 9
				SCREAMING_SNAKE_CASE  :						Optional[Any]      					= 6
				for peter_total in range(_SCREAMING_SNAKE_CASE    ,	max_peter_total + 1       ):
								peter_wins_count += peter_totals_frequencies[peter_total] * sum(
								    colin_totals_frequencies[min_colin_total:peter_total]       )

				SCREAMING_SNAKE_CASE  :						Any      					= (4**9) * (6**6)
				SCREAMING_SNAKE_CASE  :						Union[str, Any]      					= peter_wins_count / total_games_number

				SCREAMING_SNAKE_CASE  :						str      					= round(_SCREAMING_SNAKE_CASE    ,	ndigits=7       )

				return rounded_peter_win_probability


if __name__ == "__main__":
	print(f'''{solution() = }''')









'''simple docstring'''

def       __lowercase  (_SCREAMING_SNAKE_CASE      :int       ):
				SCREAMING_SNAKE_CASE  :						Tuple      					= 1
				for i in range(1    ,	num + 1       ):
								fact *= i
				return fact






def       __lowercase  (_SCREAMING_SNAKE_CASE      :int       ):
				SCREAMING_SNAKE_CASE  :						List[Any]      					= 0
				while number > 0:
								SCREAMING_SNAKE_CASE  :						List[str]      					= number % 10
								sum_of_digits += last_digit
								SCREAMING_SNAKE_CASE  :						List[str]      					= number // 10  # Removing the last_digit from the given number
				return sum_of_digits






def       __lowercase  (_SCREAMING_SNAKE_CASE      :int = 1_00       ):
				SCREAMING_SNAKE_CASE  :						List[Any]      					= factorial(_SCREAMING_SNAKE_CASE       )
				SCREAMING_SNAKE_CASE  :						List[str]      					= split_and_add(_SCREAMING_SNAKE_CASE       )
				return result


if __name__ == "__main__":
	print(solution(int(input("""Enter the Number: """).strip())))




