/* SoloLearn.com - JavaScript Challenge */
/* by Mirko Sipka */

var str = "Learn JavaScript!";
var n = str.search("Java");
console.log(n);


6