// -*- mode: c++ -*-
// $Id: strcat.g++,v 1.4 2001/07/11 02:06:39 doug Exp $
// http://www.bagley.org/~doug/shootout/
// with help from PeterB

#include <iostream>
#include <string>
using namespace std;

int main(int argc, char *argv[])
{
    int i, n = ((argc == 2) ? atoi(argv[1]) : 1);
    string str;
    for (i = 0; i < n; i++)
    {
	str += "hello\n";
    }
    cout << str.length() << endl;
    return 0;
}
