#include <stdio.h>
int mod_256(int x)
{
return (int)(unsigned char)x;
}
int main()
{
printf("expected : %d\n", -1 % 256); printf("actual : %d\n", mod_256
(-1)); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbW9kXzI1NihpbnQgeCkKewogIHJldHVybiAoaW50KSh1bnNpZ25lZCBjaGFyKXg7Cn0KCmludCBtYWluKCkKewogIHByaW50ZigiZXhwZWN0ZWQgOiAlZFxuIiwgLTEgJSAyNTYpOwogIHByaW50ZigiYWN0dWFsIDogJWRcbiIsIG1vZF8yNTYoLTEpKTsKICByZXR1cm4gMDsKfQo=