/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
int i = 0;
int n = 0;
int x = 0;
int num;
System.
out.
println("Enter number"); num
= Integer.
parseInt(obj.
readLine()); System.
out.
println("Enter number of terms"); n
= Integer.
parseInt(obj.
readLine());
for(i=1;i<=n;i++)
{
x = x * 10 + num;
}
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewogICAgICAgIGludCBpID0gMDsKICAgICAgICBpbnQgbiA9IDA7CiAgICAgICAgaW50IHggPSAwOwogICAgICAgIGludCBudW07CiAgICAgICAgQnVmZmVyZWRSZWFkZXIgb2JqPW5ldyBCdWZmZXJlZFJlYWRlcihuZXcgSW5wdXRTdHJlYW1SZWFkZXIoU3lzdGVtLmluKSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJFbnRlciBudW1iZXIiKTsKICAgICAgICBudW0gPSBJbnRlZ2VyLnBhcnNlSW50KG9iai5yZWFkTGluZSgpKTsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIkVudGVyIG51bWJlciBvZiB0ZXJtcyIpOwogICAgICAgIG4gPSBJbnRlZ2VyLnBhcnNlSW50KG9iai5yZWFkTGluZSgpKTsKCiAgICAgICAgZm9yKGk9MTtpPD1uO2krKykKICAgICAgICB7CiAgICAgICAgICAgIHggPSB4ICogMTAgKyBudW07CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbiAoeCk7CiAgICAgICAgfQoJfQp9