





from __future__ import annotations

_lowerCamelCase			       =      'Muhammad Umer Farooq'
_lowerCamelCase			       =      'MIT'
_lowerCamelCase			       =      '1.0.0'
_lowerCamelCase			       =      'Muhammad Umer Farooq'
_lowerCamelCase			       =      'contact@muhammadumerfarooq.me'
_lowerCamelCase			       =      'Alpha'

import re
from html.parser import HTMLParser
from urllib import parse

import requests







class 			__A       (      lowerCamelCase__  ):




      """simple docstring"""







      def __init__(		self      ,							a__):



             """simple docstring"""





             super().__init__()
             _lowerCamelCase							:     list[str]	=		[]
             _lowerCamelCase							:     str	=		domain



      def 				__snake_case			(		self      ,							a__      ,							a__):



             """simple docstring"""





             if tag == "a":
                    # Check the list of defined attributes.
                    for name, value in attrs:
                           # If href is defined, and not empty nor # print it.
                           if name == "href" and value != "#" and value != "":
                                  # If not already in urls.
                                  if value not in self.urls:
                                         _lowerCamelCase							:     Tuple	=		parse.urljoin(self.domain      ,							a__)
                                         self.urls.append(a__)




def    __UpperCAmelCase(      lowercase_      ):
       return ".".join(get_sub_domain_name(lowercase_      ).split('''.'''      )[-2:]      )




def    __UpperCAmelCase(      lowercase_      ):
       return parse.urlparse(lowercase_      ).netloc




def    __UpperCAmelCase(      lowercase_ = "https://github.com"      ):
       _lowerCamelCase							:     Dict	=		get_domain_name(lowercase_      )

       # Initialize the parser
       _lowerCamelCase							:     List[str]	=		Parser(lowercase_      )

       try:
              # Open URL
              _lowerCamelCase							:     Tuple	=		requests.get(lowercase_      )

              # pass the raw HTML to the parser to get links
              parser.feed(r.text      )

              # Get links and loop through
              _lowerCamelCase							:     int	=		set()
              for link in parser.urls:
                     # open URL.
                     # read = requests.get(link)
                     try:
                            _lowerCamelCase							:     Union[str, Any]	=		requests.get(lowercase_      )
                            # Get the valid email.
                            _lowerCamelCase							:     Union[str, Any]	=		re.findall('''[a-zA-Z0-9]+@''' + domain ,    read.text      )
                            # If not in list then append it.
                            for email in emails:
                                   valid_emails.add(lowercase_      )
                     except ValueError:
                            pass
       except ValueError:
              raise SystemExit(1      )

       # Finally return a sorted list of email addresses with no duplicates.
       return sorted(lowercase_      )


if __name__ == "__main__":
       _lowerCamelCase			       =      emails_from_url('https://github.com')
       print(F'''{len(emails)} emails found:''')
       print('\n'.join(sorted(emails)))








def    __UpperCAmelCase(      lowercase_ = 10_00      ):
       _lowerCamelCase							:     Optional[int]	=		2**power
       _lowerCamelCase							:     Optional[int]	=		0
       while n:
              _lowerCamelCase,  _lowerCamelCase							:     Optional[Any]	=		r + n % 10, n // 10
       return r


if __name__ == "__main__":
       print(solution(int(str(input()).strip())))

