Algebraic input