Write a Python program that stores information about mobile phone devices in a dictionary. Then it performs some search tasks as shown in the sample run below. Your program needs to have the following functions:
- add_phones: Its role is to interact with the user to read the phone information, create a dictionary, and return it. Each line of information is entered as shown below. It consists of a serial number (to be used as the key), brand, model, color, and memory. They are separated by commas.
- main: The role of the main function is to display the menu and interact with the user until he enters 'quit', then the program will terminate. In addition to the above functions, your solution must contain as many functions as needed. You need to divide the question into small tasks and each task should be handled by a function.
Your code must behave as shown in the program sample runs described below.