Pretty print for multiply and divide