Code

#include <stdio.h>

int main() {
    int N;

    
    scanf("%d", &N);

    
    N = N ^ (1 << 5);

    
    printf("%d", N);

    return 0;
}

Solving Approach

 

 

 

Upvote
Downvote
Loading...

Input

8

Expected Output

40