Limits: 1s, 512 MB
Little Arya loves to play with numbers. She likes to play in different ways with them. One day she started playing with numbers by bitwise OR operation. The game is that, she has N numbers. She will choose some random group of numbers from those N numbers. She will apply Bitwise OR operation between them and get a resultant number M.
This is a companion discussion topic for the original entry at https://toph.co/p/arya-and-or