#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c,e[666],g,h,i; string z; cin>>a>>b>>z; c=77*77*77*77; cout<<c*77; }