# Enter your code here. Read input from STDIN. Print output to STDOUT n, k = gets.chomp.split(" ").map &:to_i p rand(0..n)