/* 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
{
{
Ideone.Person tarou = (new Ideone()).new Person("Tarou");
tarou.walk(12);
Ideone.Person hanako = (new Ideone()).new Person("Hanako");
hanako.walk(3);
}
class Person
{
this.name = name;
}
public void walk(int dist){
System.
out.
println(this.
name + " walked for about " + dist
+ " kilometers."); }
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCUlkZW9uZS5QZXJzb24gdGFyb3UgPSAobmV3IElkZW9uZSgpKS5uZXcgUGVyc29uKCJUYXJvdSIpOwoJCXRhcm91LndhbGsoMTIpOwoJCUlkZW9uZS5QZXJzb24gaGFuYWtvID0gKG5ldyBJZGVvbmUoKSkubmV3IFBlcnNvbigiSGFuYWtvIik7CgkJaGFuYWtvLndhbGsoMyk7Cgl9CgoJY2xhc3MgUGVyc29uCgl7CgkJcHJpdmF0ZSBTdHJpbmcgbmFtZTsKCQlQZXJzb24oU3RyaW5nIG5hbWUpewoJCQl0aGlzLm5hbWUgPSBuYW1lOwoJCX0KCQlwdWJsaWMgdm9pZCB3YWxrKGludCBkaXN0KXsKCQkJU3lzdGVtLm91dC5wcmludGxuKHRoaXMubmFtZSArICIgd2Fsa2VkIGZvciBhYm91dCAiICsgZGlzdCArICIga2lsb21ldGVycy4iKTsKCQl9Cgl9Cgp9Cg==