"""simple docstring"""







from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

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



def 			lowercase__(       __SCREAMING_SNAKE_CASE							:     str = "mumbai"      ):
     lowercase_	:				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'}      ):
          lowercase_	:				Any													=	job.find('a'     ,			attrs={'data-tn-element': 'jobTitle'}      ).text.strip()
          lowercase_	:				str													=	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"""







from __future__ import annotations

__SCREAMING_SNAKE_CASE    	=[]



def 			lowercase__(       __SCREAMING_SNAKE_CASE							:     list[list[int]]     ,			__SCREAMING_SNAKE_CASE							:     int     ,			__SCREAMING_SNAKE_CASE							:     int      ):
     for i in range(len(__SCREAMING_SNAKE_CASE      )      ):
          if board[row][i] == 1:
               return False
     for i in range(len(__SCREAMING_SNAKE_CASE      )      ):
          if board[i][column] == 1:
               return False
     for i, j in zip(range(__SCREAMING_SNAKE_CASE     ,			-1     ,			-1      )     ,			range(__SCREAMING_SNAKE_CASE     ,			-1     ,			-1      )      ):
          if board[i][j] == 1:
               return False
     for i, j in zip(range(__SCREAMING_SNAKE_CASE     ,			-1     ,			-1      )     ,			range(__SCREAMING_SNAKE_CASE     ,			len(__SCREAMING_SNAKE_CASE      )      )      ):
          if board[i][j] == 1:
               return False
     return True



def 			lowercase__(       __SCREAMING_SNAKE_CASE							:     list[list[int]]     ,			__SCREAMING_SNAKE_CASE							:     int      ):
     if row >= len(__SCREAMING_SNAKE_CASE      ):
          solution.append(__SCREAMING_SNAKE_CASE      )
          printboard(__SCREAMING_SNAKE_CASE      )
          print()
          return True
     for i in range(len(__SCREAMING_SNAKE_CASE      )      ):
          if is_safe(__SCREAMING_SNAKE_CASE     ,			__SCREAMING_SNAKE_CASE     ,			__SCREAMING_SNAKE_CASE      ):
               lowercase_	:				int													=	1
               solve(__SCREAMING_SNAKE_CASE     ,			row + 1      )
               lowercase_	:				Dict													=	0
     return False



def 			lowercase__(       __SCREAMING_SNAKE_CASE							:     list[list[int]]      ):
     for i in range(len(__SCREAMING_SNAKE_CASE      )      ):
          for j in range(len(__SCREAMING_SNAKE_CASE      )      ):
               if board[i][j] == 1:
                    print('Q'     ,			end=' '      )
               else:
                    print('.'     ,			end=' '      )
          print()


# n=int(input("The no. of queens"))
__SCREAMING_SNAKE_CASE    	=8
__SCREAMING_SNAKE_CASE    	=[[0 for i in range(n)] for j in range(n)]
solve(board, 0)







print("The total no. of solutions are :", len(solution))

