#! ruby # yukicoder My Practice # author: Leonardone @ NEETSDKASU case gets.chomp when '0' puts '1' when '1' puts '0' end