using System;
public class Program
{
public static void Main()
int number = 32768; // Example number
// Create a bit mask with only bit 13 set (1) and all other bits cleared (0)
int bitMask13 = 1 << 13;
// Create a bit mask with only bit 15 set (1) and all other bits cleared (0)
int bitMask15 = 1 << 15;
// Check if both bit 13 and bit 15 are set in the number
bool areBits13And15Set = ((number & bitMask13) != 0) && ((number & bitMask15) != 0);
// Output the result
Console.WriteLine("Bits 13 and 15 are {0}", areBits13And15Set ? "set" : "not set");
}