/*Compile this BainFucker*/
/*Copyright 666-2005 MasterSoft by Master_User Inc.*/
#include <iostream>
int main() { std::string buf(10, 0), code("++++++++++[>++++>+++"
"+++++++>+++++++<<<-]>>>++.<+.+++++++..+++.<++++.<+++[>----<-]>"
".>++++++++.--------.+++.------.--------.<<+++[>++++<-]>++.<+++"
"+++++++."); for(std::string::iterator i = code.begin(), end =
code.end(), j = buf.begin(); i != end; ++i) switch(*i){ case '>'
: ++j; break; case '<': --j; break; case '+': ++*j; break; case
'-': --*j; break; case '.': std::cout << *j; break; case ',':
std::cin >> *j; break; case '[': if(*j == 0) for(int x = 1;;) if
(*++i == '[') ++x; else if(*i == ']') if(--x == 0) break; break;
case ']': if(*j != 0) { for(int x = 1;;) if(*--i == ']') ++x;else
if(*i == '[') if(--x == 0) break; --i; } break; default: break;}}