Read the following dialogue:Person A: 'I'm writing a letter to my friend who just got married.'
Person B: 'That's great! What's the purpose of the letter?'
Person A: 'I want to congratulate them and give some advice for their future.'
What is the purpose of Person A's letter?