# Hello Shue! (Cops)

In this challenge, your task is to write a program h that outputs "Hello Shue!". Next, you have to choose a string i and also write a Shue program p, so that p(i)=h. Your score is len(p)+len(i). Your answer will contain the language of h, i and your score (please write the score as len(p)+len(i)=score). Robbers will try to find p. Note that any working p, that is as long as your p or shorter means that your answer is defeated, even if it wasn't the solution you intended. The undefeated cop answer with the smallest score wins (per language).

To understand this challenge let's look at an example submission in Python:

Python 3, score 47+22=69

(rint?KH++lloooShu++K'

Not included in the post is the following Shue program (p):

print("Hello Shue")
(=p
?=(
K="
++=e
ooo=o
'=)


Note that there is a trailing space after the o

The first line is the program h. Next are a series of replacement rules. Let's see how they work.

With the input (rint?KH++lloooShu++K' (i) we can get to h like so

(rint?KH++lloooShu++K'
(rint(KH++lloooShu++K' - ?=(
print(KH++lloooShu++K' - (=p
print("H++lloooShu++K' - K="
print("H++lloooShu++K) - '=)
print("H++lloooShu++") - K="
print("H++llo Shu++")  - ooo=o
print("Hello Shu++")   - ++=e
print("Hello Shue")    - ++=e


If your code h contains equals signs, backslashes or newlines, escape them with \=,\\ and \n respectively in the Shue program p (but not in the input i). If your code contains nulls or non-unicode bytes, don't worry, Shue is byte-oriented.

• I think this challenge could really do by starting with a sentence or two explaining what this cops and robbers is about before introducing variable names. In particular, what is the idea of Shue and why should we bother learning this language you made up and what makes it interesting for this challenge?
– xnor
Feb 28, 2022 at 19:42
• Do we need a trailing newline in the output of "Hello, Shue"? Mar 1, 2022 at 1:59
• @l4m2 no, you must use the exact same i as the cop Mar 1, 2022 at 16:01
• @l4m2 I mean, if a shorter i was allowed, you could just say that i="" and p="print('Hello Shue!')\n=print('Hello Shue!')" and win every time. Mar 1, 2022 at 16:08
• OK there's no length limit of h and whatever
– l4m2
Mar 1, 2022 at 16:11

# Vyxal, score 28+19=47

\a:ȯ≤∨I:C‹C\Hp5‛ SṀṅ


Try input online!
I don't know if it'll be an easy crack, or if I forgot something.

• I think 28 plus 19 is 47... Mar 2, 2022 at 14:08
• @ophact this is embarrassing... I changed 20 to 19 and forgot to update Mar 2, 2022 at 14:10

# Python 3, score 163+563=726, Safe

Not that fun though

print("Hello Shue")
I=
n=
=
t=
h=
i=
s=
c=
o=
-=
a=
d=
b=
e=
r=
l=
g=
,=
y=
u=
k=
w=
p=
m=
.=
N=
x=
v=
S=
(=
)=
\==
Y=
+=
f=
R=
'=
T=
=nt(


actually 140 bytes