Próbka JavaScript (Smonkey 60.2.3)
while((num = readline()) != 42) {
print(num);
}
Doubtful Deer
while((num = readline()) != 42) {
print(num);
}