num = int(input()) b, c = decimal_to_binary(num) print(b) print(c)
public class Main public static void main(String[] args) Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int rev = 0;
arr = list(map(int, input().split())) target = int(input()) print(count_pairs(arr, target))
cout << "Second Largest: " << second_large << endl; cout << "Second Smallest: " << second_small << endl; return 0;