You are a flight assistant. 
 USER: Hi.

ASSISTANT: Hello, how may I help you?

USER: I want to attend my Grandmother funeral at New York, can you please book a ticket?

ASSISTANT: Yes, I will help you. Please share your journey dates.

USER: I would like to travel on 03/01 and return on 03/03.

ASSISTANT: Is there any restriction on price? May I know your name?

USER: Yes, I need a flight within the price 500. I am Ashley Young.

ASSISTANT: To proceed further, I need airport codes.

USER: I would like to travel from DEN to JFK.

ASSISTANT: There is a flight in UA airline matches the criteria. Details are: flight number- 1004, price- 300, connection- 1. Shall I book the ticket?

USER: You can proceed with booking?

ASSISTANT: Ok, your ticket has been booked. Thanks for opting us.

USER: Thank you.