#include using namespace std; using ll = long long; using PII = std::pair; using PLL = std::pair; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) int main() { #ifdef DEBUG cout << "DEBUG MODE" << endl; ifstream in("input.txt"); //for debug cin.rdbuf(in.rdbuf()); //for debug #endif int x, y, r; cin >> x >> y >> r; x = abs(x); y = abs(y); rep(i, 200) { if ( (x + y - i - 1) / sqrt(2.0) <= -r && (x + y - i) / sqrt(2.0) > -r ) cout << i + 1 << endl; } return 0; }