#include <stdio.h>
#include <stdlib.h>
typedef struct
{
	int lmao;
	struct ayylmao *nextNode;
	}ayylmao;
ayylmao *front, *rear,*temp;
void addVal(int iVal)
	{
		if(!front)
			{
				front = calloc(1,sizeof(ayylmao));
				rear = front;
				(*rear).nextNode = NULL;
			}
		else
			{
				(*rear).nextNode = calloc(1,sizeof(ayylmao));
				rear = (*rear).nextNode;
			}
		(*rear).lmao = iVal;
	}
void printList(void)
	{
		temp = front;
		while(temp)
			{
				printf("%d ",(*temp).lmao);
				temp = (*temp).nextNode;
			}
	}
int main(void) 
{
	addVal(13);
	addVal(12);
	printList();
	return 0;
}
