// Beispiel für Funktionen: Ist ein Buchstabe irgendeine Klammer?
//
// Aufruf: klammer
//
// Klaus Kusche, 2011

#include <iostream>
#include <cstdlib>

using namespace std;

bool istKlammer(char c);

bool istKlammer(char c)
{
  return ((c == '(') || (c == ')') ||
          (c == '[') || (c == ']') ||
          (c == '{') || (c == '}'));
}

int main(void)
{
  char z;
  
  do {
    cin >> z;
    if (istKlammer(z)) cout << "... ist Klammer" << endl;
    else cout << "... ist etwas anderes" << endl;
  } while (z != '.');

  exit(EXIT_SUCCESS);
}
