#include<iostream>
#include<cmath>
using namespace std;
int main(){
  int i,j,count;
  count = 0;
  long long int K[200]
  for(i = 1;i < 10;i++){
    for()
    K[count] = i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 9 + 10*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 99 + 100*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 999 + 1000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 9999 + 10000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 99999 + 100000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 999999 + 1000000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 9999999 + 10000000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 999999 + 1000000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 9999999 + 10000000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 99999999 + 100000000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 999999999 + 1000000000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 9999999999 + 10000000000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 99999999999 + 100000000000*i;
    count++;
  }
  for(i = 1; i < 10;i++){
    K[count] = 999999999999 + 1000000000000*i;
    count++;
  }
  cout << ans << "\n";
  return 0;
}