#include <iostream>
int main()
{
int a = -7;
unsigned int b = 30;
std::cout << a % b << '\n';
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKQp7CiAgIGludCBhID0gLTc7CiAgIHVuc2lnbmVkIGludCBiID0gMzA7CiAgIAogICBzdGQ6OmNvdXQgPDwgYSAlIGIgPDwgJ1xuJzsKICAgcmV0dXJuIDA7Cn0=