


# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from ..models.whisper import WhisperForConditionalGeneration, WhisperProcessor
from .base import PipelineTool





class   __a			(    __UpperCamelCase      ):
 __lowercase :							Dict        = 'openai/whisper-base'
 __lowercase :							Optional[int]        = (
     'This is a tool that transcribes an audio into text. It takes an input named `audio` and returns the '
     'transcribed text.'
 )
 __lowercase :							Optional[Any]        = 'transcriber'
 __lowercase :							Dict        = WhisperProcessor
 __lowercase :							Tuple        = WhisperForConditionalGeneration

 __lowercase :							List[str]        = ['audio']
 __lowercase :							List[str]        = ['text']
 def 		SCREAMING_SNAKE_CASE__   (   self				, lowerCAmelCase__ )					->				Dict:




        '''simple docstring'''
        return self.pre_processor(lowerCAmelCase__				, return_tensors='pt' ).input_features
 def 		SCREAMING_SNAKE_CASE__   (   self				, lowerCAmelCase__ )					->				int:




        '''simple docstring'''
        return self.model.generate(inputs=lowerCAmelCase__ )
 def 		SCREAMING_SNAKE_CASE__   (   self				, lowerCAmelCase__ )					->				List[str]:




        '''simple docstring'''
        return self.pre_processor.batch_decode(lowerCAmelCase__				, skip_special_tokens=lowerCAmelCase__ )[0]






def    snake_case_     (  snake_case     )  ->				int:
       if n == 1 or not isinstance(snake_case			,							snake_case     ):
              return 0
       elif n == 2:
              return 1
       else:
              lowercase__:   Optional[Any]  			=   [0, 1]
              for i in range(2			,							n + 1     ):
                     sequence.append(sequence[i - 1] + sequence[i - 2]     )

              return sequence[n]




def    snake_case_     (  snake_case     )  ->				int:
       lowercase__:   int  			=   0
       lowercase__:   int  			=   2

       while digits < n:
              index += 1
              lowercase__:   Tuple  			=   len(str(fibonacci(snake_case     )     )     )

       return index




def    snake_case_     (  snake_case = 10_00     )  ->				int:
       return fibonacci_digits_index(snake_case     )


if __name__ == "__main__":
 print(solution(int(str(input()).strip())))


