read a b c a[a+=b+c,a>3]=Infinity echo A+B+C=$a