#include <iostream>
#include <sstream>
#include <string>
int main()
{
std::istringstream stm( "a\tb\tc\nanother_line\n" ) ;
std::string str ;
std::getline( stm, str ) ;
for( char c : str )
{
if ( c == '\t' ) std::cout << "<TAB>" ;
else std::cout << c ;
}
std::cout << '\n' ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3N0cmVhbT4KI2luY2x1ZGUgPHN0cmluZz4KCmludCBtYWluKCkKewogICAgc3RkOjppc3RyaW5nc3RyZWFtIHN0bSggImFcdGJcdGNcbmFub3RoZXJfbGluZVxuIiApIDsKICAgIHN0ZDo6c3RyaW5nIHN0ciA7CiAgICBzdGQ6OmdldGxpbmUoIHN0bSwgc3RyICkgOwogICAgZm9yKCBjaGFyIGMgOiBzdHIgKQogICAgewogICAgICAgIGlmICggYyA9PSAnXHQnICkgc3RkOjpjb3V0IDw8ICI8VEFCPiIgOwogICAgICAgIGVsc2Ugc3RkOjpjb3V0IDw8IGMgOwogICAgfQogICAgc3RkOjpjb3V0IDw8ICdcbicgOwp9Cg==