'''
Created on Feb 21, 2019

@author: vijay.pal01
'''
#PF-Tryout

def convert_currency(amount_needed_inr,current_currency_name):
    current_currency_amount=0
    #write your logic here
    if(current_currency_name=="Euro"):
        current_currency_amount = 0.01417*amount_needed_inr
    elif(current_currency_name=="British Pound"):
        current_currency_amount = 0.0100*amount_needed_inr
    elif(current_currency_name=="Australian Dollar"):
        current_currency_amount = 0.02140*amount_needed_inr
    elif(current_currency_name=="Canadian Dollar"):
        current_currency_amount = 0.02027*amount_needed_inr
    else:
        print(-1)
     
    return current_currency_amount


#Provide different values for amount_needed_inr,current_currency_name and test your program
currency_needed=convert_currency(3500,"British Pound")
if(currency_needed!= -1):
    print(currency_needed )
else:
    print("Invalid currency name")