using System;
using System.Collections.Generic;
using System.Linq;
public class Test
{
public static void Main()
{
List<int> listaNumeros = new List<int>() { 95, 4, 9, 52, 40, 800, 90, 11, 2, 9, 4, 92, 8, 91, 120, 111 };
Random
rand = new Random
(DateTime.
Now.
Millisecond); int resultado
= listaNumeros
[rand.
Next(listaNumeros.
Count())]; System.Console.WriteLine(resultado);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYzsKdXNpbmcgU3lzdGVtLkxpbnE7CnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCQlMaXN0PGludD4gbGlzdGFOdW1lcm9zID0gbmV3IExpc3Q8aW50PigpIHsgOTUsIDQsIDksIDUyLCA0MCwgODAwLCA5MCwgMTEsIDIsIDksIDQsIDkyLCA4LCA5MSwgMTIwLCAxMTEgfTsKICAgICAgICBSYW5kb20gcmFuZCA9IG5ldyBSYW5kb20oRGF0ZVRpbWUuTm93Lk1pbGxpc2Vjb25kKTsKICAgICAgICBpbnQgcmVzdWx0YWRvID0gbGlzdGFOdW1lcm9zW3JhbmQuTmV4dChsaXN0YU51bWVyb3MuQ291bnQoKSldOwogICAgICAgIFN5c3RlbS5Db25zb2xlLldyaXRlTGluZShyZXN1bHRhZG8pOwoJfQp9