read -N13 a&&(IFS= read b c=($a) d=($b) $[(c+d)%10] echo "${b//[^ ]/$_}" . *)