solved primary arithmetic.