





"""simple docstring"""
from __future__ import annotations

import random







class 	a				:
 snake_case__    	=    6



 def __init__(			self			):







  """simple docstring"""






  lowerCAmelCase  							=      list(range(1							,    Dice.NUM_SIDES + 1			)			)



 def 					UpperCamelCase__   (			self			):







  """simple docstring"""






  return random.choice(self.sides			)


def 						_SCREAMING_SNAKE_CASE       (_UpperCAmelCase :  int   ,			_UpperCAmelCase :  int = 2       ):
 lowerCAmelCase  							=      [Dice() for i in range(_UpperCAmelCase       )]
 lowerCAmelCase  							=      [0] * (len(_UpperCAmelCase       ) * Dice.NUM_SIDES + 1)
 for _ in range(_UpperCAmelCase       ):
  count_of_sum[sum(dice.roll() for dice in dices       )] += 1
 lowerCAmelCase  							=      [round((count * 100) / num_throws   ,			2       ) for count in count_of_sum]
 return probability[num_dice:]  # remove probability of sums that never appear


if __name__ == "__main__":
       import doctest

       doctest.testmod()












"""simple docstring"""
__UpperCamelCase			:		Tuple		    =   10**8

def 						_SCREAMING_SNAKE_CASE       (_UpperCAmelCase :  int       ):
 if n % 10 == 0:
  return False
 lowerCAmelCase  							=      str(_UpperCAmelCase       )
 return s == s[::-1]

def 						_SCREAMING_SNAKE_CASE       ():
 lowerCAmelCase  							=      set()
 lowerCAmelCase  							=      1
 lowerCAmelCase  							=      5
 while sum_squares < LIMIT:
  lowerCAmelCase  							=      first_square + 1
  while sum_squares < LIMIT:
   if is_palindrome(_UpperCAmelCase       ):
    answer.add(_UpperCAmelCase       )
   last_square += 1
   sum_squares += last_square**2
  first_square += 1
  lowerCAmelCase  							=      first_square**2 + (first_square + 1) ** 2

 return sum(_UpperCAmelCase       )


if __name__ == "__main__":
       print(solution())





