read
cnt=0
A01=${REPLY:0:1}
A02=${REPLY:1:1}
A03=${REPLY:2:1}
A04=${REPLY:3:1}
A05=${REPLY:4:1}
A06=${REPLY:5:1}
A07=${REPLY:6:1}
A08=${REPLY:7:1}
A09=${REPLY:8:1}
A10=${REPLY:9:1}
A11=${REPLY:10:1}
A12=${REPLY:11:1}
A13=${REPLY:12:1}
A14=${REPLY:13:1}
A15=${REPLY:14:1}
A16=${REPLY:15:1}
[[ ${A01} = "C" ]] || cnt=$((cnt + 1))
[[ ${A02} = "O" ]] || cnt=$((cnt + 1))
[[ ${A03} = "D" ]] || cnt=$((cnt + 1))
[[ ${A04} = "E" ]] || cnt=$((cnt + 1))
[[ ${A05} = "F" ]] || cnt=$((cnt + 1))
[[ ${A06} = "E" ]] || cnt=$((cnt + 1))
[[ ${A07} = "S" ]] || cnt=$((cnt + 1))
[[ ${A08} = "T" ]] || cnt=$((cnt + 1))
[[ ${A09} = "I" ]] || cnt=$((cnt + 1))
[[ ${A10} = "V" ]] || cnt=$((cnt + 1))
[[ ${A11} = "A" ]] || cnt=$((cnt + 1))
[[ ${A12} = "L" ]] || cnt=$((cnt + 1))
[[ ${A13} = "2" ]] || cnt=$((cnt + 1))
[[ ${A14} = "0" ]] || cnt=$((cnt + 1))
[[ ${A15} = "1" ]] || cnt=$((cnt + 1))
[[ ${A16} = "6" ]] || cnt=$((cnt + 1))
echo $cnt
