/**
 * @fileOverview Google Code Jam template for NodeJS.
 *
 * How to run this script:
 *
 * 1. Install NodeJS (https://nodejs.org)
 * 2. npm install underscore
 * 3. node index.js < data.in > data.out
 */

'use strict';

var _ = require('underscore');

/**
 * Solve a test case.
 *
 * @param {number} id ID of test case.
 * @param {...*} args Parameters needed by test case.
 */
var solve = function (id) {
  var res;

  console.log('Case #' + id + ': ' + res);
};

var main = function (input) {
  var id,
      numTests = input.nextNumber();

  for (id = 1; id <= numTests; ++id) {
    solve(
      id,

      // Put parameters needed by test case here.
      input.next()
    );
  }
};

var Input = function (string) {
  var idx = 0,
      strings = string.split('\n'),
      len = strings.length;

  var toNumber = function (obj) {
    console.assert(_.isFinite(obj));

    return +obj;
  };

  this.next = function () {
    console.assert(idx < len);

    return strings[idx++];
  };

  this.nextNumber = function () {
    return toNumber(this.next());
  };

  this.nextNumbers = function (sep) {
    return this.nextArray(sep).map(toNumber);
  };

  this.nextArray = function (sep) {
    return this.next().split(sep || /\s+/);
  };
};

(function init() {
  var string = '';

  process.stdin.setEncoding('utf8');

  process.stdin.on('readable', function () {
    string += process.stdin.read();
  });

  process.stdin.once('end', function () {
    main(new Input(string));
  });
}());

@@ -666,16 +666,22 @@
 put.next
+String
 ()%0A    )
@@ -737,16 +737,37 @@
 dx = 0,%0A
+      space = /%5Cs+/,%0A
       st
@@ -887,16 +887,17 @@
 sFinite(
++
 obj));%0A%0A
@@ -930,16 +930,22 @@
 his.next
+String
  = funct
@@ -1029,22 +1029,27 @@
 his.next
-Number
+StringArray
  = funct
@@ -1045,32 +1045,35 @@
 ray = function (
+sep
 ) %7B%0A    return t
@@ -1076,27 +1076,43 @@
 rn t
-oNumber(this.next()
+his.nextString().split(sep %7C%7C space
 );%0A 
@@ -1133,17 +1133,16 @@
 xtNumber
-s
  = funct
@@ -1138,35 +1138,32 @@
 ber = function (
-sep
 ) %7B%0A    return t
@@ -1166,39 +1166,33 @@
 rn t
-his.nextArray(sep).map(toNumber
+oNumber(this.nextString()
 );%0A 
@@ -1207,16 +1207,22 @@
 his.next
+Number
 Array = 
@@ -1262,29 +1262,37 @@
 next
-().split(sep %7C%7C /%5Cs+/
+StringArray(sep).map(toNumber
 );%0A 

Rename methods to show type of next input explicitly.