MOD=10**9+7 p,k=map(int,input().split()) n=pow(10,p-1)-1 if n