text: class Node(object):
      def __init__(self, data):
          self.data = data
          self.next = None
  
  
  class Context(object):
      def __init__(self, source, dest):
          self.source = source
          self.dest = dest
  
  
  def move_node(source, dest):
      """
      Move first node from source to dest.
  
      :param source: Node, head of linked list
      :param dest: Node, head of linked list
      :return: Context, mutated source and dest
      """
      if source is None:
          raise ValueError('source cannot be None')
  
      first_node = Node(source.data)
      first_node.next = dest
  
      source = source.next
      dest = first_node
  
      return Context(source, dest)
  