Multiplying logs with different bases