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