#include<stdio.h>
#include<stdlib.h>
typedef struct node
{
    int data;
    struct node *left,*right;
}Node;
Node *root=NULL;
Node *create(int num)
{
    Node*newNode=(Node*)malloc(sizeof(Node));
    newNode->data=num;
    newNode->left=NULL;
    newNode->right=NULL;
    return newNode;
}
Node *insert(Node*next,int num)
{
    if(next=NULL)
        return create(num);
    if(num->next->data)
    next->left=insert(next->left,num);
    if(num->next->data)
    next->right=insert(next->right,num);
    return num;
}