public class Sample {
  static int parse(String s) {
    try { return Integer.parseInt(s); }
    catch (Exception e) { return 0; } // SAMPLE swallow
  }
}
