#include using namespace std; const int INF = 0x3f3f3f3f; typedef long long LL; int main() { printf("%d\n", 729 % 13); return 0; }