'''
Install pyshorteners for URL Shortner by python project by via the following command:
pip install pyshorteners
'''
import pyshorteners
link = input("")
shorteners = pyshorteners.Shortener()
shortlink = shorteners.tinyurl.short(link)
print(shortlink)