#include<bits/stdc++.h>
using namespace std;

int main() {
  
  int A,B;
  char c[11];
  
  cin >> c;
  
  for(int i=0;i<A;i++){
    if(c[i]<'0' || c[i]>'9'){
      cout<<"No"<<endl;
      return 0;
    }
    
    if(c
    
    for(int i=A+1;i<A+B+1;i++){
    if(c[i]<'0' || c[i]>'9'){
      cout<<"No"<<endl;
      return 0;
    }  