Write an application that recommends a pet for a user based on the user's lifestyle. Prompt the user to enter whether he or she lives in an apartment, a house, or a dormitory (1, 2, or 3, respectively) and the number of hours the user is home during an average day.