#include [[nodiscard]] static inline constexpr std::string solve(const std::string& S) noexcept { std::string ans(S.size(), '?'); for (uint_fast32_t i = 0; i < ans.size(); ++i) ans[i] = ('<' ^ '>') ^ S[(S.size() - 1) - i]; return ans; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); std::string S; S.reserve(20), std::cin >> S; std::cout << solve(S) << '\n'; return 0; }