Instruction: Outline the key components of a Shiny app and demonstrate with a simple example.
Context: This question tests the candidate's familiarity with developing interactive web applications using Shiny, showcasing their ability to create dynamic analysis tools.