#include #include using namespace std; #define DIFF ('A'-'a') int main(){ ios::sync_with_stdio(false); vector s; char input='\0'; while(input!='\n'){ cin.get(input); if(input>='a' && input <='z') input+=DIFF; else if(input>='A' && input <='Z') input-=DIFF; s.push_back(input); } for(int i=0; i