Converting a binary string to hex

0

0 votes
Very-Easy
Problem

I have a string(Very Large) in binary and I need to convert it to hex.

INPUT: A Very Large binary String .

Output : Output Should be hexadecimal equivalent of given string.

Sample Input
11000111
Sample Output
C7
Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?