
from datetime import datetime

import requests






def 							_lowercase							(     UpperCamelCase_		)		->		bytes:
					'''simple docstring'''


					SCREAMING_SNAKE_CASE__													= 'https://downloadgram.net/wp-json/wppress/video-downloader/video?url='
					SCREAMING_SNAKE_CASE__													= requests.get(base_url + url		).json()[0]['urls'][0]['src']
					return requests.get(UpperCamelCase_		).content


if __name__ == "__main__":
				__snake_case								=  input("""Enter Video/IGTV url: """).strip()
				__snake_case								=  F"""{datetime.now():%Y-%m-%d_%H:%M:%S}.mp4"""
				with open(file_name, """wb""") as fp:
								fp.write(download_video(url))
				print(F"""Done. Video saved to disk as {file_name}.""")







def 							_lowercase							(     )		->		Optional[int]:
					'''simple docstring'''


					SCREAMING_SNAKE_CASE__													= []
					SCREAMING_SNAKE_CASE__													= 1

					while len(UpperCamelCase_		) < 1e6:
										constant.append(str(UpperCamelCase_		)		)
										i += 1

					SCREAMING_SNAKE_CASE__													= ''.join(UpperCamelCase_		)

					return (
					    int(constant[0]		)
					    * int(constant[9]		)
					    * int(constant[99]		)
					    * int(constant[999]		)
					    * int(constant[9999]		)
					    * int(constant[99999]		)
					    * int(constant[999999]		)
					)


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





