#include <bits/stdc++.h>
using namespace std;
char s[1000];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%s", &s);
  }
  for (int i = 0; i < 10; i++) cout << "??" << i << ">>" << i << "??\n";
  cout << "??>>?\n";
  for (int i = 0; i < 9; i++) {
    cout << i << "?<>" << i + 1 << "\n";
  }
  cout << "9?>>?0\n";
  cout << "?<>1\n";
  cout << ">>??\n";
}
