while (Character.isDigit((char)in)) {
text = text + (char)in;
in = System.in.read();
}
Stack stack = funge.getStackStack().getStack();
stack.push(Long.parseLong(text));
} catch (IOException err) {
//TODO: Handle this exception as per spec
err.printStackTrace();
}
}