import tensorflow as tf
# Define input data
x = tf.constant(2, dtype=tf.float32)
y = tf.constant(3, dtype=tf.float32)
# Define operations
addition = tf.add(x, y)
multiplication = tf.multiply(x, y)
# Define output
result = tf.subtract(multiplication, addition)
# Create a session and run the graph
with tf.compat.v1.Session() as sess:
output = sess.run(result)
print("Result: ", output)