Added 40.py
added 40.py