/* 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 a = 1;
System.
out.
printf("Ao menos 3 espaços na variável a: %3d\n", a
); System.
out.
printf("Ao menos 8 espaços na variável a: %8d\n", a
); int b = 1234;
System.
out.
printf("Ao menos 3 espaços na variável b: %3d\n", b
); System.
out.
printf("Ao menos 8 espaços na variável b: %8d\n", b
); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCWludCBhID0gMTsKCQlTeXN0ZW0ub3V0LnByaW50ZigiQW8gbWVub3MgMyBlc3Bhw6dvcyBuYSB2YXJpw6F2ZWwgYTogJTNkXG4iLCBhKTsKCQlTeXN0ZW0ub3V0LnByaW50ZigiQW8gbWVub3MgOCBlc3Bhw6dvcyBuYSB2YXJpw6F2ZWwgYTogJThkXG4iLCBhKTsKCQlpbnQgYiA9IDEyMzQ7CgkJU3lzdGVtLm91dC5wcmludGYoIkFvIG1lbm9zIDMgZXNwYcOnb3MgbmEgdmFyacOhdmVsIGI6ICUzZFxuIiwgYik7CgkJU3lzdGVtLm91dC5wcmludGYoIkFvIG1lbm9zIDggZXNwYcOnb3MgbmEgdmFyacOhdmVsIGI6ICU4ZFxuIiwgYik7Cgl9Cn0=