codejam javascript

plz give me an example for google codejam javascript(nodejs) stdin and stdout