#include <bits/stdc++.h>
using namespace std;
const int N = 1e2 + 5;
int n;
string s[N];
vector<string> ans;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  string t;
  cin >> n;
  for (int i = 1; i <= n; i++) cin >> s[i];
  for (char c = '0'; c <= '9'; c++) {
    t = "";
    t += "?";
    t += "?";
    t += c;
    t += ">>";
    t += c;
    t += "?";
    t += "?";
    ans.push_back(t);
  }
  t = "";
  t += "?";
  t += "?";
  t += ">>";
  t += "?";
  ans.push_back(t);
  for (char c = '0'; c < '9'; c++) {
    t = "";
    t += c;
    t += "?";
    t += "<>";
    t += (c + 1);
    ans.push_back(t);
  }
  t = "";
  t += '9';
  t += "?";
  t += ">>";
  t += "?";
  t += '0';
  ans.push_back(t);
  t = "";
  t += "?";
  t += "<>";
  t += '1';
  ans.push_back(t);
  t = ">>??";
  ans.push_back(t);
  for (int i = 0; i < (int)ans.size(); i++) cout << ans[i] << endl;
  return 0;
}
