let num; let arr = []; let res = 0; let count = 0; while(num = parseInt(readline())){ arr.push(num); } arr.forEach(item => { if(item >= 0){ res += item; count++; } }) console.log(arr.length - count); console.log(count != 0 ? (res / count).toFixed(1) : (0).toFixed(1));