#include <iostream>
#include <vector>
#include <queue>
#include <iterator>
#include <ostream>

template<typename T>
std::ostream &operator <<(std::ostream &os, const std::vector<T> &v) {
   using namespace std;
   copy(v.begin(), v.end(), std::ostream_iterator<T>(os, "\n"));
   return os;
}

// Заполняем вектор частот символов
// Сохраняем все символы алфавита в std::set
void get_data(std::vector< double > &alpha){
	char c;
	double freq;

	int overall = 0;
	while(std::cin >> c){
		alpha[c] += 1;
		++overall;
	}
	for(auto& it : alpha) {
		it = it / double(overall);
	}
}


int main(){
	std::vector< double > alpha(255, 0.0);

	get_data(alpha);
	
	std::cout << alpha;
	
}