def compute(x):