DescriptionFind the tail of the given linked listGiven a linked list, you are asked to find the tail and print its value.InputThe input is read automatically. You donβt need to do anything.OutputThe program should print the value of the tail of the given linked list.ExamplesInputOutput5 4 2 9 8 -4-4Β ConstraintsTime limit: 2 secondsMemory limit: 512 MBOutput limit: 1 MBTo check your solution you need to sign inSign in to continue