'''Question: 
Write a Python program to extract the filename from a given path.
'''

# Python code: 

import os

print()

print(os.path.basename('/users/system1/student1/homework-1.py'))

print()



'''Output sample: 
homework-1.py '''