The original amount, or 512, should come first. The result, or 8, should come last.