x = 12345
y = str(x)
new_var = ''
for char in y:
    if char == "2" or char == "3":
         new_var += char
print(new_var)