



def A						(       __UpperCamelCase					)						->      int:
			A__       =    [[0 for _ in range(__UpperCamelCase					)] for _ in range(m + 1					)]
			for i in range(m + 1					):
						A__       =    1

			for n in range(m + 1					):
						for k in range(1 ,	__UpperCamelCase					):
									memo[n][k] += memo[n][k - 1]
									if n - k > 0:
												memo[n][k] += memo[n - k - 1][k]

			return memo[m][m - 1]


if __name__ == "__main__":
							import sys

							if len(sys.argv) == 1:
														try:
																					SCREAMING_SNAKE_CASE__       =      int(input('''Enter a number: ''').strip())
																					print(partition(n))
														except ValueError:
																					print('''Please enter a number.''')
							else:
														try:
																					SCREAMING_SNAKE_CASE__       =      int(sys.argv[1])
																					print(partition(n))
														except ValueError:
																					print('''Please pass a number.''')









import webbrowser
from sys import argv
from urllib.parse import parse_qs, quote

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
							SCREAMING_SNAKE_CASE__       =      '''%20'''.join(argv[1:]) if len(argv) > 1 else quote(str(input('''Search: ''')))

							print('''Googling.....''')

							SCREAMING_SNAKE_CASE__       =      f'https://www.google.com/search?q={query}&num=100'

							SCREAMING_SNAKE_CASE__       =      requests.get(
							    url,
							    headers={'''User-Agent''': str(UserAgent().random)},
							)

							try:
														SCREAMING_SNAKE_CASE__       =      (
														    BeautifulSoup(res.text, '''html.parser''')
														    .find('''div''', attrs={'''class''': '''yuRUbf'''})
														    .find('''a''')
														    .get('''href''')
														)

							except AttributeError:
														SCREAMING_SNAKE_CASE__       =      parse_qs(
														    BeautifulSoup(res.text, '''html.parser''')
														    .find('''div''', attrs={'''class''': '''kCrYT'''})
														    .find('''a''')
														    .get('''href''')
														)['''url'''][0]

							webbrowser.open(link)




