kitna_paisa_hai = [3000, 600000, 324990909, 90990900, 30000, 5600000, 690909090, 31010101, 532010, 510, 4100]
i=0

while i < len(kitna_paisa_hai):
    if i< 690909090 :
        print "crorepati hai"
    if i <=90990900:
        print "lakhpati hai"
    if i > 31010101:
        print "Diwale hai" 
    i=i+1 









# 324990909
# 90990900
# 690909090
# 31010101

# Jinke paas 1 crore ya usse jyada paisa hai, woh crorepati hai.
# Jinke paas 1 lakh ya usse kam paise hai, woh lakhpati hai.
# Baaki sab Dilwale hai.