






from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

__UpperCAmelCase     							=						'https://www.indeed.co.in/jobs?q=mobile+app+development&l='




def 					lowercase__				(					__snake_case   :							str = "mumbai"  ):


					'''simple docstring'''


					UpperCAmelCase_   :				Union[str, 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_   :				Any						=						job.find('a'					,	attrs={'data-tn-element': 'jobTitle'}  ).text.strip()
										UpperCAmelCase_   :				Tuple						=						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]}')














def 					lowercase__				(					__snake_case   :							str					,	__snake_case   :							int					,	__snake_case   :							List[str]  ):


					'''simple docstring'''


					if n == 0:
										return 1

					elif n % 2 == 1:
										return (binary_exponentiation(__snake_case					,	n - 1					,	__snake_case  ) * a) % mod

					else:
										UpperCAmelCase_   :				Optional[int]						=						binary_exponentiation(__snake_case					,	n / 2					,	__snake_case  )
										return (b * b) % mod


# a prime number
__UpperCAmelCase     							=						701

__UpperCAmelCase     							=						1000000000
__UpperCAmelCase     							=						10

# using binary exponentiation function, O(log(p)):
print((a / b) % p == (a * binary_exponentiation(b, p - 2, p)) % p)






print((a / b) % p == (a * b ** (p - 2)) % p)






