/* 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;
System.
out.
println("Press S to stop."); for(i
= 0; (char) System.
in.
read() != 'S'; i
++) System.
out.
println("Pass #" + i
); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZyBhcmdzW10pIHRocm93cyBqYXZhLmlvLklPRXhjZXB0aW9uIHsKICAgICAgICBpbnQgaTsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIlByZXNzIFMgdG8gc3RvcC4iKTsKICAgICAgICBmb3IoaSA9IDA7IChjaGFyKSBTeXN0ZW0uaW4ucmVhZCgpICE9ICdTJzsgaSsrKQogICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIlBhc3MgIyIgKyBpKTsKICAgIH0KfQ==