Given a JSON record of a customer, write a Python program to extract the customer's name.
{
    "name": "John Smith",
    "age": 35
}
import json

data = json.loads('{
    "name": "John Smith",
    "age": 35
}')

customer_name = data["name"]
print(customer_name)