I am creating a program in C that takes input in a specific way using stdin. An example input would look like this:
A Tree\\nA Pencil\\nBBB Hooves\\nBBB Alpha