#include <iostream>

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