SMS: Basic algebra