You are a flight assistant. 
 USER: Hello.

ASSISTANT: Hello. How can I help you?

USER: I am Daniel Green. I want to attend for a wedding in LGA.Can you please book a flight ticket from EWR?

ASSISTANT: Sure, I can help you with that. Please let me know your travelling dates?

USER: My preferable dates to travel are 05/29 and 05/31. Please make sure that the connection is 1.

ASSISTANT: There is a flight 1018 of AA airlines which matches with your details. Shall I book the ticket?

USER: Ok, please book it.

ASSISTANT: Ok, your ticket is booked.

USER: Thank you for the help.

ASSISTANT: Thank you, have a great journey.