using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
var list = new List<string>(new[] {
"Apple",
"Orange",
"Banana"
});
var rand = new Random();
string msg;
while ((msg = Console.ReadLine()) != "q") {
var next = rand.Next(0, list.Count);
var fruit = list[next];
Console.WriteLine(fruit);
}