Below is my solution to the HackerRank "Solve Me First" challenge. In order to pass the test, the solveMeFirst function must return a + b;

function solveMeFirst(a, b) {  
    return a + b;

function main() {  
    // write your code here.
    // call `readLine()` to read a line.
    // use console.log() to write to stdout

    var a = parseInt(readLine());
    var b = parseInt(readLine());;

    var res = solveMeFirst(a, b);