Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: kakcode
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.004 second
Submitted On: 2025-12-03 23:15:50
/*
TASK: c1_su63_anagram1,
LANG: C++
AUTHOR: ICE
*/
#include <bits/stdc++.h>
using ll = long long;
#define forr(i, a, n) for (int i = a; i < n; i++)
const ll inf = 10e9;
#define int ll
using namespace std;
using pii = pair<int,int>;
int arr[8];
signed main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
string word;
cin >> word;
for(auto i : word)arr[i-'A']++;
for(int i=0;i<8;i++)cout << arr[i] << ' ';
return 0;
}