def convert_to_int(val):
    """
    Converts string to int if possible, otherwise returns initial string
    """
	
    #print("WHAT?",val)
	
    try:
        return int(val)
    except ValueError:
        #print("DDDDDDDDDDD",val)
        pass
    try:
        return float(val)
    except ValueError:
        return val