Java Program position of n among the numbers made of 2 , 3 , 5 & 7
class GFG { static int findpos ( String n ) { int pos = 0 ; for ( int i = 0 ; i < n . length ( ) ; i ++ ) { switch ( n . charAt ( i ) ) {