






"""simple docstring"""



from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

_lowerCAmelCase	:	Union[str, Any]				=      """https://www.indeed.co.in/jobs?q=mobile+app+development&l="""


def 	SCREAMING_SNAKE_CASE__       (  snake_case       : str = "mumbai"				)->		Generator[tuple[str, str], None, None]:






     '''simple docstring'''



     UpperCAmelCase__						:    List[Any]							=							BeautifulSoup(requests.get(url + location				).content			,					"html.parser"				)
     # This attribute finds out all the specifics listed in a job
     for job in soup.find_all("div"			,					attrs={"data-tn-component": "organicJob"}				):
          UpperCAmelCase__						:    Optional[int]							=							job.find("a"			,					attrs={"data-tn-element": "jobTitle"}				).text.strip()
          UpperCAmelCase__						:    Optional[Any]							=							job.find("span"			,					{"class": "company"}				).text.strip()
          yield job_title, company_name


if __name__ == "__main__":
 for i, job in enumerate(fetch_jobs("""Bangalore"""), 1):
  print(F"""Job {i:>2} is {job[0]} at {job[1]}""")










"""simple docstring"""



import os


def 	SCREAMING_SNAKE_CASE__       (  )->		Optional[Any]:






     '''simple docstring'''



     with open(os.path.dirname(snake_case				) + "/p022_names.txt"				) as file:
          UpperCAmelCase__						:    Tuple							=							str(file.readlines()[0]				)
          UpperCAmelCase__						:    str							=							names.replace("\""			,					""				).split(","				)

     names.sort()

     UpperCAmelCase__						:    Optional[int]							=							0
     UpperCAmelCase__						:    List[str]							=							0

     for i, name in enumerate(snake_case				):
          for letter in name:
               name_score += ord(snake_case				) - 64

          total_score += (i + 1) * name_score
          UpperCAmelCase__						:    Optional[int]							=							0
     return total_score


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


