Given an input string, when the first and last letters are equal, print the string with the first and last letters removed. Otherwise, print the original string.

Complete the following file:

prog.cpp

#include <iostream> #include <string> using namespace std; int main() { string input = "test"; string output; cout << output << endl; return 0; }