code: def get_tokens(self) -> str:
          '''Get tokens after input statement'''
  
          def _get_tokens(statement):
              return [
                  x[1]
                  for x in generate_tokens(StringIO(statement).readline)
                  if x[1] not in ('', '\n')
              ]
  
          tokens: List = []
          for statement in self.statements:
              tokens.extend(
                  _get_tokens(statement[2] if statement[0] ==
                              ':' else statement[1]))
  
          if self.task:
              tokens.extend(_get_tokens(self.task))
  
          return ' '.join(tokensf get_tokens(self) -> str:
          '''Get tokens after input statement'''
  
          def _get_tokens(statement):
              return [
                  x[1]
                  for x in generate_tokens(StringIO(statement).readline)
                  if x[1] not in ('', '\n')
              ]
  
          tokens: List = []
          for statement in self.statements:
              tokens.extend(
                  _get_tokens(statement[2] if statement[0] ==
                              ':' else statement[1]))
  
          if self.task:
              tokens.extend(_get_tokens(self.task))
  
          return ' '.join(tokens)
docs: Get tokens after input statement