/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
import java.util.Scanner;
public class Main
{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
char arr[] = s.toCharArray();
int count =0;
for(int i=0; i<arr.length; i++)
{
if(arr[i]>='a'&& arr[i]<='z'){
count++;
}}
if(count==0){
System.out.println("No small");
}
else {
System.out.println(count);
}
}
}