#include using namespace std; int main() { string s, t; cin >> s >> t; cout << (char)toupper(s[0]) << '.' << (char)toupper(t[0]) << '.'; }