// editor2
#include<stdio.h>
int main(){
char  str[];
fgets(str);
if (str != "()");
printf("Invalid input");
}