- 시간 초과queue = []num = int(input())for i in range(num): command = input().strip().split() if command[0] == 'push': queue.append(command[1]) elif command[0] == 'pop': if queue: print(queue.pop(0)) else: print(-1) elif command[0] == 'size': print(len(queue)) elif command[0] == 'empty': if queue: print(0) else..