


'''simple docstring'''



import warnings

from ...utils import logging
from .image_processing_flava import FlavaImageProcessor


__A	=logging.get_logger(__name__)


class 		_snake_case					(     UpperCamelCase_	):




					def __init__(      self							,							*_lowerCamelCase							,							**_lowerCamelCase):
								warnings.warn(
								    """The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
								    """ use FlavaImageProcessor instead."""							,							__a							,							)
								super().__init__(*__a							,							**__a)



'''simple docstring'''



from itertools import permutations







def     _UpperCamelCase      (		UpperCamelCase__					):
			if num[3] % 2 != 0:
						return False

			if (num[2] + num[3] + num[4]) % 3 != 0:
						return False

			if num[5] % 5 != 0:
						return False

			UpperCAmelCase__  :					Optional[int]        =     [7, 1_1, 1_3, 1_7]
			for i, test in enumerate(UpperCamelCase__					):
						if (num[i + 4] * 1_0_0 + num[i + 5] * 1_0 + num[i + 6]) % test != 0:
									return False
			return True







def     _UpperCamelCase      (		UpperCamelCase__ = 1_0					):
			return sum(
			    int("""""".join(map(UpperCamelCase__ ,      UpperCamelCase__					)					)					)
			    for num in permutations(range(UpperCamelCase__					)					)
			    if is_substring_divisible(UpperCamelCase__					)					)


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