let pica = ["Anna", 12, "Sam", 9, "Kate", 10, "Ron", 9];
for (let i = 0; i < pica.length; i++) {
if (typeof pica[i] === "string") {
console.log(pica[i] + " - string value");
} else {
console.log(pica[i] + " - number value")
}
}