Definition: You are given a conversation between two people. 'Person1:' and 'Person2:' are used to separate their respective dialogues. You are required to assign a label 'formal' if there is an absence of emotion and a presence of questions anywhere within the conversation. If such pattern is not found assign the label 'informal'.
Input: Person1: Did I do well on my test ?
Person2:Do you want to know the honest answer ?
Person1: Why wouldn't I want to know ?
Person2:You had pretty bad scores .
Person1: Exactly what do you mean by bad ?
Person2:You failed .
Person1: How'd I fail it ?
Person2:There are a couple of reasons why you didn't pass .
Person1: What did I do wrong ?
Person2:To sum it all up , you really just don't know how to drive .
Person1: Thanks.Will I be able to take a retest ?
Person2:Sure you can , in about two and a half weeks .
Output:
formal