#include<bits/stdc++.h>
using namespace std;
int n;
int h[1000001];
int main()
{
    ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
    int a,b,c;
    cin>>a>>b>>c;
    if(a==b||c==0)
    {
        cout<<"=";
        return 0;
    }
    if(c%2)
    {
        if(a>b)
        {
            cout<<">";
            return 0;
        }
        else
        {
            cout<<"<";
            return 0;
        }
    }
    else
    {
        a=abs(a);
        b=abs(b);
        if(a==b)
        {
            cout<<"=";
            return 0;
        }
        if(a>b)
        {
            cout<<">";
            return 0;
        }
        else
        {
            cout<<"<";
            return 0;
        }
    }
}

#include <bits/stdc++.h>
#define ll long long
#define ld long double
using namespace std;

const int N = 2000 + 5, mod = 1e9 + 7;

ll a, b, c, d;

bool check1(int a, int b, int c, int d){
    if(a + b == c + d) return 1;
    if(a - b == c - d) return 1;
    if(abs(a - c) + abs(b - d) <= 3) return 1;
    return 0;
}

bool check2(ll a, ll b, ll c, ll d){
    for(int i = a - 3; i <= a + 3; i++){
        for(int j = b - 3; j <= b + 3 ; j++){
            if(abs(i - a) + abs(j - b) > 3) continue;
            if(check1(i, j, c, d)) return 1;
        }
    }
    return 0;
}

int main() {
    ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
    cin >> a >> b >> c >> d;
    if(a == c && b == d) cout << 0;
    else if(check1(a, b, c, d)) cout << 1;
    else if(((a + b + c - d) & 1) == 0) cout << 2;
    else if(((c + d + a - b) & 1) == 0) cout << 2;
    else if(check2(a, b, c, d)) cout << 2;
    else cout << 3;





    return 0;

}
