Write an algebraic expression to represent: three times a number minus seven.