public static int findMinNote(String song){
		String s = copyOfString(song),temp;
		int min = 127;
		while(!s.equals("")){
			if(s.contains("?"))
				s = s.substring(s.indexOf('?')+1);
			else
				break;
			if(s.length()>=3)
				temp = s.substring(0,3);
			else
				temp = s;
			if(temp.contains("@") || temp.contains("$") || temp.contains("?"))
				temp = temp.substring(0,2);
			if(Integer.parseInt(temp)< min)
				min = Integer.parseInt(temp);
		}
		return min;
	}